Marco Peereboom [Sat, 10 Oct 2009 23:24:55 +0000 (23:24 +0000)]
use different heuristic to determine if a window needs to be unmanaged
outside of the normal handling. Not sure if this covers all cases but
I can't recreate holes in the stacker or crashes when stressing.
Marco Peereboom [Thu, 8 Oct 2009 04:40:56 +0000 (04:40 +0000)]
Set withdrawn sate for unmanaged windows. We needed it after all for
restarting the wm.
Add more paranoia around pointers in switchws.
Remove some dup code in the restart wm function.
Marco Peereboom [Wed, 7 Oct 2009 02:38:38 +0000 (02:38 +0000)]
Unfuck java by working around several java issues.
Implement WM_TAKE_FOCUS.
Make transients always the focus when entering either the parent or the
transient window itself.
Marco Peereboom [Mon, 5 Oct 2009 17:03:47 +0000 (17:03 +0000)]
Fix stress issue when keeping ctrl-d pressed when deleting 10 or so
windows. It comes down to events being tossed by the x server causing
dead windows to not be removed from the managed list. Apply a huge hammer
by removing the dead windows from the list when counting them for stacking
purposes.
Undo some previous added synchronization code that was not necessary but
had given me the illusion of serializing some things.
Marco Peereboom [Sun, 4 Oct 2009 05:58:27 +0000 (05:58 +0000)]
Add some serialization. Prevents some crashes under extreme load.
Not happy with it yet but it beats shitting X. This will never be seen
under normal load.
Marco Peereboom [Thu, 1 Oct 2009 21:51:50 +0000 (21:51 +0000)]
Do nothing when switching screens with keyboard when only on one screen.
Make the dummykeyfunc and legacyfunc look a little less like c++
Remove hiding windows when chaning xrandr on the fly since stack deals
with it and it ws causing issues with making windows dissapear.
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 ;-)
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 [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 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.
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.