]> code.delx.au - spectrwm/log
spectrwm
14 years agoAdd mem to script; disabled of course.
Marco Peereboom [Sun, 13 Sep 2009 21:01:36 +0000 (21:01 +0000)]
Add mem to script; disabled of course.

from sepp0@openbsd.org.ar

14 years agonew man
Marco Peereboom [Sun, 13 Sep 2009 20:50:59 +0000 (20:50 +0000)]
new man

14 years agofix conf xterm quirk to use an actually defined quirk name
Darrin Chandler [Sun, 13 Sep 2009 20:48:53 +0000 (20:48 +0000)]
fix conf xterm quirk to use an actually defined quirk name

14 years agoFix library path so that i don't waste a bunch of time every time i test
Marco Peereboom [Sun, 13 Sep 2009 20:38:04 +0000 (20:38 +0000)]
Fix library path so that i don't waste a bunch of time every time i test
scrotwm

14 years agoMan update for new program[] config stuff.
Darrin Chandler [Sun, 13 Sep 2009 20:07:30 +0000 (20:07 +0000)]
Man update for new program[] config stuff.

"get it in please" marco@

14 years agoAdd -std=c89. We already were compliant, and this is mostly to encourage
Darrin Chandler [Sun, 13 Sep 2009 17:28:19 +0000 (17:28 +0000)]
Add -std=c89. We already were compliant, and this is mostly to encourage
better patches from the GNU crowd.

"do it" marco@

14 years agocleanup debug code
Darrin Chandler [Sat, 12 Sep 2009 21:41:28 +0000 (21:41 +0000)]
cleanup debug code

14 years agoToo big diff. Includes:
Darrin Chandler [Sat, 12 Sep 2009 21:32:21 +0000 (21:32 +0000)]
Too big diff. Includes:

  * Fix unbind, reported by Paul Irofti <bulibuta@sdf.lonestar.org>
  * Fix many memory leaks
  * Add custom program spawning & key binding to config

Man page additions to follow soonish.

"if you are confident it is done then get it in" marco@

14 years agowhitespace police. no actual changes.
Darrin Chandler [Sun, 30 Aug 2009 18:16:41 +0000 (18:16 +0000)]
whitespace police. no actual changes.

14 years agoFix crash on NULL class/name strings in bar. Reported by and similar diff
Darrin Chandler [Sun, 16 Aug 2009 15:50:52 +0000 (15:50 +0000)]
Fix crash on NULL class/name strings in bar. Reported by and similar diff
from Gregory Edigarov.

ok marco

14 years agoSwitch config quirks from '|' to '+' to be consistent with other config
Darrin Chandler [Tue, 11 Aug 2009 16:43:30 +0000 (16:43 +0000)]
Switch config quirks from '|' to '+' to be consistent with other config
items.

With previous conf_load changes, space within [] are allowed, so class
and name can appear as-is.

Switch config file and man page to match.

Old behavior still allowed for compat with existing configs out there,
but not documented anywhere.

Prodding by marco for the first bit, at least.

14 years agoRemove fixed-length limitation on window class and name as used by quirks.
Darrin Chandler [Tue, 11 Aug 2009 16:20:55 +0000 (16:20 +0000)]
Remove fixed-length limitation on window class and name as used by quirks.
Removed from html TODO list.

Overhaul conf_load to better deal with foo[bar]= syntax. Conf_load now
does the bulk of the parsing, individual config functions now call funcs
to actually set the values.

ok pyr, marco

14 years agoAdd more todo and bugs
Marco Peereboom [Wed, 5 Aug 2009 21:33:21 +0000 (21:33 +0000)]
Add more todo and bugs

14 years agoFix homepage title.
merdely [Mon, 3 Aug 2009 21:25:32 +0000 (21:25 +0000)]
Fix homepage title.

14 years agoAdd myself to copyright in license.html
Darrin Chandler [Sun, 2 Aug 2009 16:03:49 +0000 (16:03 +0000)]
Add myself to copyright in license.html

Prodded by marco

14 years agoupdate to-do
Darrin Chandler [Sat, 1 Aug 2009 22:43:08 +0000 (22:43 +0000)]
update to-do

14 years agoSome class/name strings can be long. Bump up SWM_QUIRK_LEN to 64. It's not
Darrin Chandler [Sat, 1 Aug 2009 19:59:12 +0000 (19:59 +0000)]
Some class/name strings can be long. Bump up SWM_QUIRK_LEN to 64. It's not
surprising that it was a Java app that tripped this up. Leaving dynamic
allocation for a later commit.

ok marco

14 years agoFix bar spacing for when class:name is followed by other stuff.
Darrin Chandler [Sun, 7 Jun 2009 16:55:06 +0000 (16:55 +0000)]
Fix bar spacing for when class:name is followed by other stuff.

14 years agoRearrange class & name on bar to match quirk config style.
Darrin Chandler [Sun, 7 Jun 2009 16:40:35 +0000 (16:40 +0000)]
Rearrange class & name on bar to match quirk config style.

14 years agoan unrelated commit reminded me I need to add myself to the copyright,
pyr [Thu, 4 Jun 2009 17:22:43 +0000 (17:22 +0000)]
an unrelated commit reminded me I need to add myself to the copyright,
as advised by marco.

14 years agoAdd two configuration options:
pyr [Thu, 4 Jun 2009 06:03:37 +0000 (06:03 +0000)]
Add two configuration options:
* title_name_enabled
* title_class_enabled
The first one shows the active window title in the status bar, the
second the active window class (useful to find out window classes
to use with quirks). Both are disabled by default.
read & approved by marco.

15 years agoAdd control to known keys. from Juergen Daubert <jue@jue.li>
Marco Peereboom [Thu, 28 May 2009 19:40:13 +0000 (19:40 +0000)]
Add control to known keys. from Juergen Daubert <jue@jue.li>

15 years agoone more tag
Marco Peereboom [Thu, 28 May 2009 19:04:30 +0000 (19:04 +0000)]
one more tag

15 years agoOops on cvs tag
Marco Peereboom [Thu, 28 May 2009 18:59:34 +0000 (18:59 +0000)]
Oops on cvs tag

15 years agoAdd dwc to copyright
Marco Peereboom [Thu, 28 May 2009 18:47:41 +0000 (18:47 +0000)]
Add dwc to copyright

15 years agoFix a ;; that breaks gcc 2.95
Marco Peereboom [Thu, 28 May 2009 18:25:30 +0000 (18:25 +0000)]
Fix a ;; that breaks gcc 2.95

15 years agoBump
Marco Peereboom [Thu, 28 May 2009 18:21:13 +0000 (18:21 +0000)]
Bump

15 years agoAdd Version to mod shift v
Marco Peereboom [Thu, 28 May 2009 17:44:20 +0000 (17:44 +0000)]
Add Version to mod shift v

15 years agoBump for release
Marco Peereboom [Thu, 28 May 2009 17:31:24 +0000 (17:31 +0000)]
Bump for release

15 years agoBreak out static quirks list into dynamic list, initialized to match the
Darrin Chandler [Mon, 25 May 2009 22:04:56 +0000 (22:04 +0000)]
Break out static quirks list into dynamic list, initialized to match the
previous static list.

Add quirks parsing to config file.

Update manual with quirks.

Man help from Jason McIntyre (jmc). Thanks!

ok marco.

15 years agoFix my pasto for Mod+Shift+k -> swap_prev. Noticed by Marco.
Darrin Chandler [Mon, 30 Mar 2009 17:20:24 +0000 (17:20 +0000)]
Fix my pasto for Mod+Shift+k -> swap_prev. Noticed by Marco.

"yes get this in damnit!" marco

15 years agobetter wording
Marco Peereboom [Sun, 15 Mar 2009 15:40:35 +0000 (15:40 +0000)]
better wording

15 years agoAdd Darrin and his work
Marco Peereboom [Sun, 15 Mar 2009 15:29:51 +0000 (15:29 +0000)]
Add Darrin and his work

15 years agonew
Marco Peereboom [Sun, 15 Mar 2009 15:23:22 +0000 (15:23 +0000)]
new

15 years agoBump version for snap
Marco Peereboom [Sun, 15 Mar 2009 15:19:15 +0000 (15:19 +0000)]
Bump version for snap

15 years agoAdd key binding capabilities to the configuration file. Some minor
Darrin Chandler [Tue, 10 Mar 2009 01:32:06 +0000 (01:32 +0000)]
Add key binding capabilities to the configuration file. Some minor
refactoring.

"Sure, go ahead" mcbride, "ok get it in" marco

15 years agoadd majordomo
Marco Peereboom [Fri, 6 Mar 2009 18:13:05 +0000 (18:13 +0000)]
add majordomo

15 years agoHandle focus-out events, watch for something that looks like synergy
Ryan McBride [Wed, 4 Mar 2009 06:13:35 +0000 (06:13 +0000)]
Handle focus-out events, watch for something that looks like synergy
stealing the cursor when it moves to another screen, and unfocus the
window if this happens. Makes synergy across multiple scrotwm machines
much nicer, as you only get the focus window border on one screen at
a time.

Also, unfocus_all is a sledgehammer, don't use it so much.

15 years agoUpdate bar more often and remove ./ from baraction.sh
Marco Peereboom [Fri, 20 Feb 2009 14:28:32 +0000 (14:28 +0000)]
Update bar more often and remove ./ from baraction.sh

15 years agoNew man
Marco Peereboom [Wed, 18 Feb 2009 21:07:36 +0000 (21:07 +0000)]
New man

15 years agoBump version for snap
Marco Peereboom [Wed, 18 Feb 2009 20:42:31 +0000 (20:42 +0000)]
Bump version for snap

15 years agoAdd clock format from merdely
Marco Peereboom [Wed, 18 Feb 2009 20:34:26 +0000 (20:34 +0000)]
Add clock format from merdely

15 years agoAlso use terminus-medium in the sample scrotwm.conf.
Ryan McBride [Tue, 17 Feb 2009 04:04:05 +0000 (04:04 +0000)]
Also use terminus-medium in the sample scrotwm.conf.

15 years agoTerminus fonts changed in OpenBSD -current, make sure we specify medium
Ryan McBride [Tue, 17 Feb 2009 03:10:53 +0000 (03:10 +0000)]
Terminus fonts changed in OpenBSD -current, make sure we specify medium
otherwise the bar is bold.

15 years agoFix crash
Marco Peereboom [Mon, 16 Feb 2009 04:45:35 +0000 (04:45 +0000)]
Fix crash

15 years agoAdd modkey
Marco Peereboom [Mon, 16 Feb 2009 00:06:49 +0000 (00:06 +0000)]
Add modkey

15 years ago.conf entry for modkey so that pepople will stop pestering me for the
Marco Peereboom [Mon, 16 Feb 2009 00:03:53 +0000 (00:03 +0000)]
.conf entry for modkey so that pepople will stop pestering me for the
windows key mod.

15 years agoEmbed wmname code from suckless.org to work around stupid sun shit.
Marco Peereboom [Sun, 15 Feb 2009 23:23:24 +0000 (23:23 +0000)]
Embed wmname code from suckless.org to work around stupid sun shit.

15 years agoquirk Firefox Dialog
Marco Peereboom [Sun, 15 Feb 2009 22:56:15 +0000 (22:56 +0000)]
quirk Firefox Dialog

15 years agoIf the master window already has focus when M-m is pressed, switch focus
Ryan McBride [Fri, 13 Feb 2009 00:47:21 +0000 (00:47 +0000)]
If the master window already has focus when M-m is pressed, switch focus
back to the previously focused window, to match the behaviour of M-enter.

Pointed out by jacekm@.

15 years agomcbrides crazy baraction.sh overflows the bar so make it bigger
Marco Peereboom [Thu, 12 Feb 2009 22:28:14 +0000 (22:28 +0000)]
mcbrides crazy baraction.sh overflows the bar so make it bigger

15 years agoFix missing bars when going multiscreen or in freebsd. Reported by
Marco Peereboom [Thu, 12 Feb 2009 22:09:44 +0000 (22:09 +0000)]
Fix missing bars when going multiscreen or in freebsd.  Reported by
Tom Doherty <tdoherty@nyx.com>

15 years agoKill some {}
Marco Peereboom [Thu, 12 Feb 2009 21:14:14 +0000 (21:14 +0000)]
Kill some {}

15 years agoBeware of stolen code for it was written on little endian and 32 bits.
Marco Peereboom [Thu, 12 Feb 2009 20:58:04 +0000 (20:58 +0000)]
Beware of stolen code for it was written on little endian and 32 bits.

15 years agoAdd pcb quirk. From Mark Peoples <marco@tuppy.intrepidhosting.net>
Marco Peereboom [Thu, 12 Feb 2009 17:48:05 +0000 (17:48 +0000)]
Add pcb quirk.  From Mark Peoples <marco@tuppy.intrepidhosting.net>

15 years agoReset xterm font sizes on startup in case we restarted with scaled fonts.
Ryan McBride [Wed, 11 Feb 2009 07:24:02 +0000 (07:24 +0000)]
Reset xterm font sizes on startup in case we restarted with scaled fonts.

15 years agoRework the sample baraction.sh to use iostat -C rather than the sleep
Ryan McBride [Wed, 11 Feb 2009 07:17:06 +0000 (07:17 +0000)]
Rework the sample baraction.sh to use iostat -C rather than the sleep
as its timer, printing CPU stats as well as APM status.

15 years agoAdd full screen quirk and make mplayer and xine use it.
Marco Peereboom [Wed, 11 Feb 2009 06:02:24 +0000 (06:02 +0000)]
Add full screen quirk and make mplayer and xine use it.

15 years agoAdd new options
Marco Peereboom [Tue, 10 Feb 2009 20:32:53 +0000 (20:32 +0000)]
Add new options

15 years agoBump version for snap.
Marco Peereboom [Tue, 10 Feb 2009 20:29:55 +0000 (20:29 +0000)]
Bump version for snap.

15 years agoAdd delete window as requested by beck
Marco Peereboom [Tue, 10 Feb 2009 18:16:10 +0000 (18:16 +0000)]
Add delete window as requested by beck

15 years agoPut some lower bounds on resize; from Alexander Hall
Marco Peereboom [Tue, 10 Feb 2009 05:02:17 +0000 (05:02 +0000)]
Put some lower bounds on resize; from Alexander Hall

15 years agoFix all kinds of chicken and egg problems with the bar as reported by
Marco Peereboom [Tue, 10 Feb 2009 04:40:29 +0000 (04:40 +0000)]
Fix all kinds of chicken and egg problems with the bar as reported by
various people

15 years agoFix another horizontal calculation bug. Both this and the previous from
Ryan McBride [Mon, 9 Feb 2009 04:40:11 +0000 (04:40 +0000)]
Fix another horizontal calculation bug. Both this and the previous from
over-zealous cut-n-paste.

15 years agoDon't use an uninitialised variable when calculating the width of the master
Ryan McBride [Mon, 9 Feb 2009 04:12:09 +0000 (04:12 +0000)]
Don't use an uninitialised variable when calculating the width of the master
area; while we're here, handle the case where the first window is floating,
or there are no tiled windows at all. Sizing issue reported by azmarco.

15 years agoNot sure if this works but at least has a fighting chance.
Marco Peereboom [Sun, 8 Feb 2009 04:10:00 +0000 (04:10 +0000)]
Not sure if this works but at least has a fighting chance.

15 years agoLet scrotwm adjust the font size on xterms as it squishes them in tiling
Ryan McBride [Sat, 7 Feb 2009 19:49:58 +0000 (19:49 +0000)]
Let scrotwm adjust the font size on xterms as it squishes them in tiling
mode to keep the terminal width above a certan size (set with 'term_width'
in the config file.

We do this by sending the default font size change keystrokes to the xterm
in question. Because xterm does not accept 'synthetic' keystroke events by
default, and we don't want to force users to enable acceptSendEvents for
security reasons, hook XtAppNextEvent in the LD_PRELOAD hack, and clear
the send_event flag on the events in question. CAVEAT: Only works if xterm
is not setuid/setgid.

15 years agoTry to keep track of the previous focus in each workspace, and do something
Ryan McBride [Sat, 7 Feb 2009 19:21:00 +0000 (19:21 +0000)]
Try to keep track of the previous focus in each workspace, and do something
more intuitive when the user does M-enter twice: swap the windows back.

15 years agoMore stacking cleanup, and fix the divide-by-zero reported by pyr.
Ryan McBride [Wed, 4 Feb 2009 08:58:54 +0000 (08:58 +0000)]
More stacking cleanup, and fix the divide-by-zero reported by pyr.

15 years agoRemove fixed bug
Marco Peereboom [Tue, 3 Feb 2009 22:27:41 +0000 (22:27 +0000)]
Remove fixed bug

15 years agoNew man
Marco Peereboom [Tue, 3 Feb 2009 22:25:35 +0000 (22:25 +0000)]
New man

15 years agoBump version for snap
Marco Peereboom [Tue, 3 Feb 2009 22:19:40 +0000 (22:19 +0000)]
Bump version for snap

15 years ago*sigh* fix corner case where windows were being mapped from a different
Marco Peereboom [Tue, 3 Feb 2009 22:04:50 +0000 (22:04 +0000)]
*sigh* fix corner case where windows were being mapped from a different
workspace after alt-q.

15 years agoAdd gimp as a full floating app and fix missing floaters.
Marco Peereboom [Tue, 3 Feb 2009 21:50:16 +0000 (21:50 +0000)]
Add gimp as a full floating app and fix missing floaters.

15 years agoAdd M-S-i
Marco Peereboom [Tue, 3 Feb 2009 16:42:39 +0000 (16:42 +0000)]
Add M-S-i

15 years agoAdd M-S-i for windows-envy multiscreen support. This calls an external
Marco Peereboom [Tue, 3 Feb 2009 16:37:56 +0000 (16:37 +0000)]
Add M-S-i for windows-envy multiscreen support.  This calls an external
script that does the xrandr magic.

15 years agoBetter, hopefully math-exception-free logic for multi-column stacker, and
Ryan McBride [Tue, 3 Feb 2009 14:49:40 +0000 (14:49 +0000)]
Better, hopefully math-exception-free logic for multi-column stacker, and
fix off-by-two error in stack width calculations.

15 years agomcbride knocked 2 more out
Marco Peereboom [Tue, 3 Feb 2009 13:32:36 +0000 (13:32 +0000)]
mcbride knocked 2 more out

15 years agoAdd M-S-, and M-S-. keybindings to add and remove columns (vertical stack)
Ryan McBride [Tue, 3 Feb 2009 13:13:30 +0000 (13:13 +0000)]
Add M-S-, and M-S-. keybindings to add and remove columns (vertical stack)
or rows (horizontal stack) from the stacking (non-master) area.

15 years agoMore cleanup found while debugging my last silly mistake.
Ryan McBride [Tue, 3 Feb 2009 06:45:53 +0000 (06:45 +0000)]
More cleanup found while debugging my last silly mistake.
- don't ask for Xrandr events until we've set up the screens
- don't use an iterator for more than one thing at a time
- we don't need to handle RRNotify messages
- Move some bits around to fix compile on certain non-OpenBSD platforms
- Other cleanup and de-obfuscation

15 years agoOops from mcbride and some style and a comment.
Marco Peereboom [Tue, 3 Feb 2009 06:38:25 +0000 (06:38 +0000)]
Oops from mcbride and some style and a comment.

15 years agoSubscribe to xrandr events, and update our regions dynamically.
Ryan McBride [Tue, 3 Feb 2009 05:08:27 +0000 (05:08 +0000)]
Subscribe to xrandr events, and update our regions dynamically.
Keep a list of old regions around to reuse the region to ws mapping (and
other parameters later)

15 years agoCheck if we are changing workspaces and only unmanage the window if we
Marco Peereboom [Tue, 3 Feb 2009 02:21:01 +0000 (02:21 +0000)]
Check if we are changing workspaces and only unmanage the window if we
are not.

15 years agoOops do some focus magic just as before. Note this is still hosed due to
Marco Peereboom [Tue, 3 Feb 2009 00:54:35 +0000 (00:54 +0000)]
Oops do some focus magic just as before.  Note this is still hosed due to
enternotify but that is an older issue.

15 years agoAdd quirk for retarded dialog window sizes and make firefox use it.
Marco Peereboom [Tue, 3 Feb 2009 00:50:01 +0000 (00:50 +0000)]
Add quirk for retarded dialog window sizes and make firefox use it.
Do not resize dialogs unless retarded.
Add unmanager_window so that windows that are unmapped and are transient
are no longer managed; xpdf needs this and other apps dont seem to care.

15 years agoSupport user-defined regions. Lets you split monster monitors into multiple
Ryan McBride [Sun, 1 Feb 2009 11:59:40 +0000 (11:59 +0000)]
Support user-defined regions. Lets you split monster monitors into multiple
regions, or override scrotwm's multi-head autodetection (such as on video
drivers that do multihead without telling X).

Also a big step towards dynamic Xrandr support.

15 years agoSilence format string warnings with debug enabled;
Ryan McBride [Sun, 1 Feb 2009 10:05:25 +0000 (10:05 +0000)]
Silence format string warnings with debug enabled;
"Window" is not int (%d), it's unsigned long (%lu).

15 years agoWe have more than one file now, and the licenses are not exactly the same,
Ryan McBride [Sun, 1 Feb 2009 07:42:12 +0000 (07:42 +0000)]
We have more than one file now, and the licenses are not exactly the same,
update to reflect this. Also mention & link to license.template, and remove
epitome remenants from <title>.

15 years agoAdd lock screen
Marco Peereboom [Sun, 1 Feb 2009 05:29:43 +0000 (05:29 +0000)]
Add lock screen

15 years agoAdd some features and more screenshots
Marco Peereboom [Sun, 1 Feb 2009 05:01:16 +0000 (05:01 +0000)]
Add some features and more screenshots

15 years agoNew man
Marco Peereboom [Sun, 1 Feb 2009 04:16:58 +0000 (04:16 +0000)]
New man

15 years agoBump version for snap
Marco Peereboom [Sun, 1 Feb 2009 04:03:40 +0000 (04:03 +0000)]
Bump version for snap

15 years agono {} around DNPRINTF.
Marco Peereboom [Sun, 1 Feb 2009 03:04:45 +0000 (03:04 +0000)]
no {} around DNPRINTF.

15 years agoPut transient windows into the current workspace, regardless of any
Ryan McBride [Sun, 1 Feb 2009 01:45:43 +0000 (01:45 +0000)]
Put transient windows into the current workspace, regardless of any
inherited window properties.

15 years agoDocument M-t: Toggle focused window between tiled and floating
Ryan McBride [Sun, 1 Feb 2009 01:42:08 +0000 (01:42 +0000)]
Document M-t: Toggle focused window between tiled and floating

15 years agoDrag tiled windows to floating; toggle windows between floating and tiled
Ryan McBride [Sun, 1 Feb 2009 01:39:25 +0000 (01:39 +0000)]
Drag tiled windows to floating; toggle windows between floating and tiled
with M-t. Also some backend fixups; stack all tiled windows first, then
floating windows, so order in the list doesn't matter.

15 years agofix anoncvs to be the right hostname, so host keys do not get reported as changing
Todd Fries [Sat, 31 Jan 2009 16:31:22 +0000 (16:31 +0000)]
fix anoncvs to be the right hostname, so host keys do not get reported as changing

15 years agoMake resize smarter so that M-M3 resizes the window without centering it
Marco Peereboom [Fri, 30 Jan 2009 20:59:20 +0000 (20:59 +0000)]
Make resize smarter so that M-M3 resizes the window without centering it
and M-S-M3 keeps the old behavior.

15 years agoAdd version stuff
Marco Peereboom [Fri, 30 Jan 2009 20:33:51 +0000 (20:33 +0000)]
Add version stuff

15 years agoAdd version to bar when M-S-v is pressed. We will need it to debug at
Marco Peereboom [Fri, 30 Jan 2009 20:16:01 +0000 (20:16 +0000)]
Add version to bar when M-S-v is pressed.  We will need it to debug at
some point.