Marco Peereboom [Wed, 23 Sep 2009 03:34:58 +0000 (03:34 +0000)]
Fix nasty stacking bug that windows don't appear if they are the only
transient one in a workspace.
Marco Peereboom [Thu, 17 Sep 2009 02:22:52 +0000 (02:22 +0000)]
Make linux makefile work nicer; from Tobias Ulmer <tobiasu@tmux.org>
Marco Peereboom [Thu, 17 Sep 2009 02:11:34 +0000 (02:11 +0000)]
Fix missing $ from tobiasu.
Bad dwc!
Marco Peereboom [Sun, 13 Sep 2009 22:28:53 +0000 (22:28 +0000)]
Make tags all the same.
Add amateurish script to generate a release; beats me typing it
Marco Peereboom [Sun, 13 Sep 2009 21:37:39 +0000 (21:37 +0000)]
kill iostat when restarting scrotwm
from Joe Gidi <joe@entropicblur.com>
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
Marco Peereboom [Sun, 13 Sep 2009 20:50:59 +0000 (20:50 +0000)]
new man
Darrin Chandler [Sun, 13 Sep 2009 20:48:53 +0000 (20:48 +0000)]
fix conf xterm quirk to use an actually defined quirk name
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
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@
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@
Darrin Chandler [Sat, 12 Sep 2009 21:41:28 +0000 (21:41 +0000)]
cleanup debug code
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@
Darrin Chandler [Sun, 30 Aug 2009 18:16:41 +0000 (18:16 +0000)]
whitespace police. no actual changes.
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
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.
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
Marco Peereboom [Wed, 5 Aug 2009 21:33:21 +0000 (21:33 +0000)]
Add more todo and bugs
merdely [Mon, 3 Aug 2009 21:25:32 +0000 (21:25 +0000)]
Fix homepage title.
Darrin Chandler [Sun, 2 Aug 2009 16:03:49 +0000 (16:03 +0000)]
Add myself to copyright in license.html
Prodded by marco
Darrin Chandler [Sat, 1 Aug 2009 22:43:08 +0000 (22:43 +0000)]
update to-do
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
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.
Darrin Chandler [Sun, 7 Jun 2009 16:40:35 +0000 (16:40 +0000)]
Rearrange class & name on bar to match quirk config style.
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.
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.
Marco Peereboom [Thu, 28 May 2009 19:40:13 +0000 (19:40 +0000)]
Add control to known keys. from Juergen Daubert <jue@jue.li>
Marco Peereboom [Thu, 28 May 2009 19:04:30 +0000 (19:04 +0000)]
one more tag
Marco Peereboom [Thu, 28 May 2009 18:59:34 +0000 (18:59 +0000)]
Oops on cvs tag
Marco Peereboom [Thu, 28 May 2009 18:47:41 +0000 (18:47 +0000)]
Add dwc to copyright
Marco Peereboom [Thu, 28 May 2009 18:25:30 +0000 (18:25 +0000)]
Fix a ;; that breaks gcc 2.95
Marco Peereboom [Thu, 28 May 2009 18:21:13 +0000 (18:21 +0000)]
Bump
Marco Peereboom [Thu, 28 May 2009 17:44:20 +0000 (17:44 +0000)]
Add Version to mod shift v
Marco Peereboom [Thu, 28 May 2009 17:31:24 +0000 (17:31 +0000)]
Bump for release
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.
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
Marco Peereboom [Sun, 15 Mar 2009 15:40:35 +0000 (15:40 +0000)]
better wording
Marco Peereboom [Sun, 15 Mar 2009 15:29:51 +0000 (15:29 +0000)]
Add Darrin and his work
Marco Peereboom [Sun, 15 Mar 2009 15:23:22 +0000 (15:23 +0000)]
new
Marco Peereboom [Sun, 15 Mar 2009 15:19:15 +0000 (15:19 +0000)]
Bump version for snap
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
Marco Peereboom [Fri, 6 Mar 2009 18:13:05 +0000 (18:13 +0000)]
add majordomo
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.
Marco Peereboom [Fri, 20 Feb 2009 14:28:32 +0000 (14:28 +0000)]
Update bar more often and remove ./ from baraction.sh
Marco Peereboom [Wed, 18 Feb 2009 21:07:36 +0000 (21:07 +0000)]
New man
Marco Peereboom [Wed, 18 Feb 2009 20:42:31 +0000 (20:42 +0000)]
Bump version for snap
Marco Peereboom [Wed, 18 Feb 2009 20:34:26 +0000 (20:34 +0000)]
Add clock format from merdely
Ryan McBride [Tue, 17 Feb 2009 04:04:05 +0000 (04:04 +0000)]
Also use terminus-medium in the sample scrotwm.conf.
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.
Marco Peereboom [Mon, 16 Feb 2009 04:45:35 +0000 (04:45 +0000)]
Fix crash
Marco Peereboom [Mon, 16 Feb 2009 00:06:49 +0000 (00:06 +0000)]
Add modkey
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.
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.
Marco Peereboom [Sun, 15 Feb 2009 22:56:15 +0000 (22:56 +0000)]
quirk Firefox Dialog
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@.
Marco Peereboom [Thu, 12 Feb 2009 22:28:14 +0000 (22:28 +0000)]
mcbrides crazy baraction.sh overflows the bar so make it bigger
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>
Marco Peereboom [Thu, 12 Feb 2009 21:14:14 +0000 (21:14 +0000)]
Kill some {}
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.
Marco Peereboom [Thu, 12 Feb 2009 17:48:05 +0000 (17:48 +0000)]
Add pcb quirk. From Mark Peoples <marco@tuppy.intrepidhosting.net>
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.
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.
Marco Peereboom [Wed, 11 Feb 2009 06:02:24 +0000 (06:02 +0000)]
Add full screen quirk and make mplayer and xine use it.
Marco Peereboom [Tue, 10 Feb 2009 20:32:53 +0000 (20:32 +0000)]
Add new options
Marco Peereboom [Tue, 10 Feb 2009 20:29:55 +0000 (20:29 +0000)]
Bump version for snap.
Marco Peereboom [Tue, 10 Feb 2009 18:16:10 +0000 (18:16 +0000)]
Add delete window as requested by beck
Marco Peereboom [Tue, 10 Feb 2009 05:02:17 +0000 (05:02 +0000)]
Put some lower bounds on resize; from Alexander Hall
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
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.
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.
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.
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.
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.
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.
Marco Peereboom [Tue, 3 Feb 2009 22:27:41 +0000 (22:27 +0000)]
Remove fixed bug
Marco Peereboom [Tue, 3 Feb 2009 22:25:35 +0000 (22:25 +0000)]
New man
Marco Peereboom [Tue, 3 Feb 2009 22:19:40 +0000 (22:19 +0000)]
Bump version for snap
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.
Marco Peereboom [Tue, 3 Feb 2009 21:50:16 +0000 (21:50 +0000)]
Add gimp as a full floating app and fix missing floaters.
Marco Peereboom [Tue, 3 Feb 2009 16:42:39 +0000 (16:42 +0000)]
Add M-S-i
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.
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.
Marco Peereboom [Tue, 3 Feb 2009 13:32:36 +0000 (13:32 +0000)]
mcbride knocked 2 more out
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.
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
Marco Peereboom [Tue, 3 Feb 2009 06:38:25 +0000 (06:38 +0000)]
Oops from mcbride and some style and a comment.
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)
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.
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.
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.
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.
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).
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>.
Marco Peereboom [Sun, 1 Feb 2009 05:29:43 +0000 (05:29 +0000)]
Add lock screen
Marco Peereboom [Sun, 1 Feb 2009 05:01:16 +0000 (05:01 +0000)]
Add some features and more screenshots
Marco Peereboom [Sun, 1 Feb 2009 04:16:58 +0000 (04:16 +0000)]
New man
Marco Peereboom [Sun, 1 Feb 2009 04:03:40 +0000 (04:03 +0000)]
Bump version for snap
Marco Peereboom [Sun, 1 Feb 2009 03:04:45 +0000 (03:04 +0000)]
no {} around DNPRINTF.
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.
Ryan McBride [Sun, 1 Feb 2009 01:42:08 +0000 (01:42 +0000)]
Document M-t: Toggle focused window between tiled and floating