]> code.delx.au - spectrwm/log
spectrwm
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.

15 years agoFix a silly crash
Marco Peereboom [Fri, 30 Jan 2009 03:51:01 +0000 (03:51 +0000)]
Fix a silly crash

15 years agoNew man file
Marco Peereboom [Thu, 29 Jan 2009 22:37:58 +0000 (22:37 +0000)]
New man file

15 years agoremove one item and add snapshot link
Marco Peereboom [Thu, 29 Jan 2009 22:36:20 +0000 (22:36 +0000)]
remove one item and add snapshot link

15 years agoFix smaller than possible resize.
Marco Peereboom [Thu, 29 Jan 2009 22:31:27 +0000 (22:31 +0000)]
Fix smaller than possible resize.

15 years agoAdd resize and move action.
Marco Peereboom [Thu, 29 Jan 2009 22:19:44 +0000 (22:19 +0000)]
Add resize and move action.

15 years agoAdd move window as well.
Marco Peereboom [Thu, 29 Jan 2009 22:15:15 +0000 (22:15 +0000)]
Add move window as well.

15 years agoRedo man
Marco Peereboom [Thu, 29 Jan 2009 21:55:51 +0000 (21:55 +0000)]
Redo man

/me <3 jmc

15 years agoMove mouse back onto the border to retain focus on resized window.
Marco Peereboom [Thu, 29 Jan 2009 21:41:00 +0000 (21:41 +0000)]
Move mouse back onto the border to retain focus on resized window.

15 years agoResize transient & floating windows with alt-mouse3. Keeps the window in
Marco Peereboom [Thu, 29 Jan 2009 21:38:49 +0000 (21:38 +0000)]
Resize transient & floating windows with alt-mouse3.  Keeps the window in
the middle of the screen because I am not sure if that isn'y what we wnat
yet.  For mplayer it is nice to keep it in the middle.

15 years agoMove class names into ws_win; this will make debug easy because now we
Marco Peereboom [Thu, 29 Jan 2009 20:35:01 +0000 (20:35 +0000)]
Move class names into ws_win; this will make debug easy because now we
can print the name of the window as well.

15 years agoAdd class code so that we can quirk certain apps.
Marco Peereboom [Thu, 29 Jan 2009 20:27:11 +0000 (20:27 +0000)]
Add class code so that we can quirk certain apps.
Add beginnings of propertynotify to deal with property changes.

15 years agoMake full screen actually full screen and move window so that border is out
Marco Peereboom [Wed, 28 Jan 2009 21:14:08 +0000 (21:14 +0000)]
Make full screen actually full screen and move window so that border is out
of sight.

15 years agoKNF
Marco Peereboom [Wed, 28 Jan 2009 20:58:39 +0000 (20:58 +0000)]
KNF
Add cvs tag as a string that is printed at startup.

15 years agoopen /dev/null on stdin during spawn. pointed out by mcbride and it fixes
Marco Peereboom [Wed, 28 Jan 2009 17:46:55 +0000 (17:46 +0000)]
open /dev/null on stdin during spawn.  pointed out by mcbride and it fixes
mplayer when launched from firefox and when firefox was launched from dmenu
Also move focus to the bottom of manage_window.

15 years agoAdd bugs and todo. Need the bugs because i keep forgetting.
Marco Peereboom [Wed, 28 Jan 2009 04:57:32 +0000 (04:57 +0000)]
Add bugs and todo.  Need the bugs because i keep forgetting.

15 years agoMove some more declarations to where they belong.
Marco Peereboom [Wed, 28 Jan 2009 04:45:45 +0000 (04:45 +0000)]
Move some more declarations to where they belong.

15 years agoBump man
Marco Peereboom [Wed, 28 Jan 2009 04:36:22 +0000 (04:36 +0000)]
Bump man

15 years agoBump version to roll a snap
Marco Peereboom [Wed, 28 Jan 2009 03:29:33 +0000 (03:29 +0000)]
Bump version to roll a snap

15 years agoOne more item done
Marco Peereboom [Wed, 28 Jan 2009 00:21:39 +0000 (00:21 +0000)]
One more item done

15 years agoPrevent acessing pointer that has been freed.
Marco Peereboom [Tue, 27 Jan 2009 21:30:18 +0000 (21:30 +0000)]
Prevent acessing pointer that has been freed.
Still one weird focus bug leftover where when the last window in a ws gets
destroyed and if there is a window on the alternate screen it gets focus.

15 years agoAdd cycle through regions; aka move pointer.
Marco Peereboom [Tue, 27 Jan 2009 19:56:47 +0000 (19:56 +0000)]
Add cycle through regions; aka move pointer.
Fix bug where windows from another ws remained mapped after restart.
Fix focus bug where sometimes the pointer was NULL.

15 years agoAdd screenshot_app to conf
Marco Peereboom [Tue, 27 Jan 2009 16:18:10 +0000 (16:18 +0000)]
Add screenshot_app to conf

15 years agoAdd tags
Marco Peereboom [Tue, 27 Jan 2009 16:16:20 +0000 (16:16 +0000)]
Add tags

15 years agoDo screenshots and add example script for it.
Marco Peereboom [Tue, 27 Jan 2009 07:36:49 +0000 (07:36 +0000)]
Do screenshots and add example script for it.

15 years agoBad mcbride leaking memory and char * in the wrong spot.
Marco Peereboom [Tue, 27 Jan 2009 06:50:57 +0000 (06:50 +0000)]
Bad mcbride leaking memory and char * in the wrong spot.

15 years agoMove int back where it belongs.
Marco Peereboom [Sun, 25 Jan 2009 21:48:06 +0000 (21:48 +0000)]
Move int back where it belongs.

15 years agoAdjust window sizes to match height and width increment hints.
Ryan McBride [Sun, 25 Jan 2009 17:56:01 +0000 (17:56 +0000)]
Adjust window sizes to match height and width increment hints.
Minimizes wasted space on xterms.

15 years agoSupport placing the master area on the opposite side.
Ryan McBride [Sun, 25 Jan 2009 10:54:16 +0000 (10:54 +0000)]
Support placing the master area on the opposite side.

15 years agoReplace the vertical_stack() and horizontal_stack() logic with one
Ryan McBride [Sun, 25 Jan 2009 10:43:20 +0000 (10:43 +0000)]
Replace the vertical_stack() and horizontal_stack() logic with one
function that rotates appropriately.

15 years agoRemove screenshot since we have it; just not as pretty as one would like.
Marco Peereboom [Sun, 25 Jan 2009 04:12:11 +0000 (04:12 +0000)]
Remove screenshot since we have it; just not as pretty as one would like.

15 years agoUpdate pics
Marco Peereboom [Sun, 25 Jan 2009 04:09:01 +0000 (04:09 +0000)]
Update pics

15 years agocolor *sigh*
Marco Peereboom [Sun, 25 Jan 2009 03:36:15 +0000 (03:36 +0000)]
color *sigh*

15 years agoUpdate
Marco Peereboom [Sun, 25 Jan 2009 03:34:51 +0000 (03:34 +0000)]
Update

15 years agoMapRaised in max_stack to bring window into focus.
Marco Peereboom [Sun, 25 Jan 2009 03:12:34 +0000 (03:12 +0000)]
MapRaised in max_stack to bring window into focus.

15 years agoAdd screenshot
Marco Peereboom [Sun, 25 Jan 2009 01:50:27 +0000 (01:50 +0000)]
Add screenshot

15 years agoAdd initial screenshot support
Marco Peereboom [Sun, 25 Jan 2009 01:46:44 +0000 (01:46 +0000)]
Add initial screenshot support

15 years agoMove html into own dir
Marco Peereboom [Sat, 24 Jan 2009 23:52:28 +0000 (23:52 +0000)]
Move html into own dir

15 years agoMove delay back to 59
Marco Peereboom [Sat, 24 Jan 2009 23:51:08 +0000 (23:51 +0000)]
Move delay back to 59