Marco Peereboom [Thu, 1 Oct 2009 21:27:19 +0000 (21:27 +0000)]
Fix bug where a transient destroy would not give back the focus to the
parent when the mouse was over the transient window.
Marco Peereboom [Thu, 1 Oct 2009 21:15:38 +0000 (21:15 +0000)]
Make ignore_enter binary. The counter sometimes got off.
Marco Peereboom [Thu, 1 Oct 2009 21:08:22 +0000 (21:08 +0000)]
Fix apps that unmap windows but don't destroy them leaving an ugly hole
in the stack. I am talking to you VLC.
Fix a bug where trans might be set to some garbage in mange_window
Still run into a bug that I can't explain. It is there with your name on
it mcbride; yes really i wrote down where in the code ;-)
Marco Peereboom [Thu, 1 Oct 2009 15:17:17 +0000 (15:17 +0000)]
fix max_stack for real
Ryan McBride [Thu, 1 Oct 2009 09:51:31 +0000 (09:51 +0000)]
Stop annoying flicker when a hidden workspace is mapped into a different
region from where it was before (the windows are raised over that old
workspace before being restacked in the correct location). Do this by
keeping track of where the workspace USED to be, and deferring the
XMapRaised() until stack() if the new location does not match the old one.
Ryan McBride [Thu, 1 Oct 2009 09:44:09 +0000 (09:44 +0000)]
Actually, DON'T set the ws->r to a bogus value.
It's perfectly legal for us to start managing a window in a workspace
that's not active - for example, when we start a process and change
workspaces before the window is created, or when scrotwm restarts.
Marco Peereboom [Wed, 30 Sep 2009 21:23:55 +0000 (21:23 +0000)]
Mostly fix max_stack. Only known bug is that the focuses window doesn't
always end up on top. Attempts to fix that were unsuccessful.
Marco Peereboom [Wed, 30 Sep 2009 20:15:02 +0000 (20:15 +0000)]
OMG fix a 100 year old ryan bug that has been pissing me off since regions
got introduced and i pretended it was a quirk.
Marco Peereboom [Wed, 30 Sep 2009 18:08:58 +0000 (18:08 +0000)]
One more of cur_focus fallout
Marco Peereboom [Wed, 30 Sep 2009 18:02:18 +0000 (18:02 +0000)]
Fix move_to_ws as fallout from killing cur_focus
Marco Peereboom [Wed, 30 Sep 2009 17:19:03 +0000 (17:19 +0000)]
Sprinkle some if (running == 0) around sensitive spots; seems to make the
intel chip not fuck itself all the time on exit.
Marco Peereboom [Wed, 30 Sep 2009 16:45:24 +0000 (16:45 +0000)]
fix switchws after M-q by trying harder to find a focus window.
Marco Peereboom [Wed, 30 Sep 2009 04:21:49 +0000 (04:21 +0000)]
Add an extra font that more people likely have.
From Juergen Daubert <jue@jue.li>
Add a "lose focus after ws fix" for slow launching apps such as gimp.
This will likely break xrandr multi screen but that is a fix for later.
Marco Peereboom [Wed, 30 Sep 2009 02:50:11 +0000 (02:50 +0000)]
Use cut instead of awk for some sort of mem saving.
From Sepp0 <sepp0@openbsderos.org>
Marco Peereboom [Wed, 30 Sep 2009 02:45:32 +0000 (02:45 +0000)]
fix pics
Marco Peereboom [Wed, 30 Sep 2009 02:42:45 +0000 (02:42 +0000)]
fix links
Marco Peereboom [Wed, 30 Sep 2009 02:33:44 +0000 (02:33 +0000)]
Add spanish
Marco Peereboom [Tue, 29 Sep 2009 22:35:02 +0000 (22:35 +0000)]
Make sure we open transient in same ws as parent; this does not work 100%
on intel xrandr. It seems that the intel driver switched the geometry
so that 0.0 isnt in the top left corner or something.
Marco Peereboom [Tue, 29 Sep 2009 21:23:59 +0000 (21:23 +0000)]
Fix yet a few more corner cases of focus woes. We are down to 1 bug.
Damn you transients!
Marco Peereboom [Tue, 29 Sep 2009 19:01:50 +0000 (19:01 +0000)]
And kill got_focus
Marco Peereboom [Tue, 29 Sep 2009 18:59:09 +0000 (18:59 +0000)]
Continuing cleanup of focus. Clean all known nits in xrandr too.
Warp pointer to screen 0 when multi screen on restart.
Remove some dead code.
Marco Peereboom [Tue, 29 Sep 2009 15:06:37 +0000 (15:06 +0000)]
First round of cur_focus cleanup.
Marco Peereboom [Tue, 29 Sep 2009 14:25:40 +0000 (14:25 +0000)]
Bite the bullet and add some signal handling to reap them children.
Kill cur_focus that caused all kinds of grief. This, deliberately, has not
been cleaned yet. The idea is to completly overhaul the focus code that
is slimy and stinky. Oh and it has all kinds of rotten dead code as well.
Marco Peereboom [Mon, 28 Sep 2009 17:15:15 +0000 (17:15 +0000)]
Clarify quirks
Marco Peereboom [Sat, 26 Sep 2009 16:40:08 +0000 (16:40 +0000)]
Fix stupid lib install location, from sthen
Marco Peereboom [Fri, 25 Sep 2009 19:25:29 +0000 (19:25 +0000)]
Add dumpevent and clean up some dwc debug goop.
Marco Peereboom [Wed, 23 Sep 2009 12:02:35 +0000 (12:02 +0000)]
Remove an unused var.
Marco Peereboom [Wed, 23 Sep 2009 05:18:56 +0000 (05:18 +0000)]
We fixed the linux make files
Marco Peereboom [Wed, 23 Sep 2009 05:16:14 +0000 (05:16 +0000)]
meh no need to copy a diff
Marco Peereboom [Wed, 23 Sep 2009 04:55:46 +0000 (04:55 +0000)]
Never unmange windows when unmapping.
Marco Peereboom [Wed, 23 Sep 2009 04:20:51 +0000 (04:20 +0000)]
Make sure we unmange windows in non active workspaces; this sometimes
lead to leftover blank holes.
Fix some non c89 shit too.
Marco Peereboom [Wed, 23 Sep 2009 03:53:09 +0000 (03:53 +0000)]
Add quick for soffice 3.1
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