Dana Jansens [Mon, 14 May 2007 22:53:32 +0000 (22:53 +0000)]
always ungrab keyboard before doing a noninteractive action (which will ungrab before doing its real action business).
too bad we cant ungrab the mouse too.
Dana Jansens [Mon, 14 May 2007 22:20:48 +0000 (22:20 +0000)]
fix fullscreen windows being stuck in the wrong layer when they come out of
fullscreen.
add a new layer where fullscreen windows go when are aren't focused, below
all normal windows, so you can alt-tab to a below layer window and it will
show itself.
Dana Jansens [Mon, 14 May 2007 20:55:36 +0000 (20:55 +0000)]
remove the dialog option for Desktop action for now. can't change desktop during a grab. the dialog for desktop changing will need to change, and then we can add it back
Dana Jansens [Mon, 14 May 2007 00:41:30 +0000 (00:41 +0000)]
we don't need to save the config type in the session because if they dont run their DE with the openbox-*-session command, openbox won't be loaded anyhow. and if they do, they the var will be set and doesn't need to come from the session.
Dana Jansens [Mon, 14 May 2007 00:07:38 +0000 (00:07 +0000)]
remove some old checking because we're not using window properties to store the premax/fullscreen areas. they are always set when the state is turned on.
Dana Jansens [Sun, 13 May 2007 23:51:55 +0000 (23:51 +0000)]
change now the keyboard is ungrabbed before executing actions. instead, ungrab it just before calling exec. other actions don't need it ungrabbed, and this way the release doesn't get sent through to programs for our keybindings. except for exec i suppose.
Dana Jansens [Sun, 13 May 2007 23:30:52 +0000 (23:30 +0000)]
add grab/ungrab macros so dont need to pass in 10 arguments to ungrab stuff.
add a confine option to grab_pointer to confine the pointer to the screen, and use that for moveresize
Dana Jansens [Sun, 13 May 2007 16:39:04 +0000 (16:39 +0000)]
no more losing focus from wm_torture -t map_response
when a focusin comes for an invalid target, set that focus has wandered off, so
that when the focusout comes in afterwards we can react accordingly
Dana Jansens [Sun, 13 May 2007 15:29:49 +0000 (15:29 +0000)]
don't allow focus to move during an interactive grab. if users set up actions
such that this would happen, then kill the interactive grab before moving
focus.
this is to avoid NotifyWhileGrabbed FocusOut's
Dana Jansens [Sun, 13 May 2007 07:45:15 +0000 (07:45 +0000)]
use the right list in client_add_hide_notify, rename destructor to destroy_notify which is really what it is, and is more consistant now that there are 2 notifies
Dana Jansens [Sun, 13 May 2007 07:38:35 +0000 (07:38 +0000)]
likewise if a window is unmanaged and we were trying to give it focus, we want to know about it - also if the window gets hidden for some other reason, we also want to know about it.
add a notifier for windows being hidden, and use that instead - it handles both cases.
Dana Jansens [Sun, 13 May 2007 07:09:34 +0000 (07:09 +0000)]
some changes to focus handling.
most interesting is the change in focus_fallback, which means that it won't
call xsetinput focus in some cases, potentially reducing flicker and stuff.
also potentially producing bugs? heh.
the screen.c focus fallback code doesn't seem to need special cases anymore,
which is really good, if that is really the case.
move the focus_tried stuff out of event.c into focus.c, where it seems to
belong.