diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-02 09:01:56 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-02 09:03:13 -0500 |
| commit | b1d4bbdb54bd4525692745bf5267765adcf8cc3e (patch) | |
| tree | 29fa5cf49c1b81eb1a77571fe0605db9041510ce /openbox/event.c | |
| parent | 3b0f41dc66da86aaad4f0343bbfb632c7bbfd0c7 (diff) | |
make fullscreen windows more xinerama and multi-screen aware
instead of calling it every time a window loses focus, it is only called when a window gains focus. then, check fullscreen layered windows, if they should be moved to a lower layer.
when moving a window between monitors, also check its layer and that of any fullscreen windows.
let a window stay in the fullscreen layer even when it is not focused, if it is on a non-visible desktop, or if it is on a different monitor from the focused window, or if nothing else is focused
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c index 535e9f14..9362c80d 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -519,7 +519,6 @@ static void event_process(const XEvent *ec, gpointer data) window with RevertToParent focus */ frame_adjust_focus(client->frame, FALSE); /* focus_set_client(NULL) has already been called */ - client_calc_layer(client); } else if (e->xfocus.detail == NotifyPointerRoot || e->xfocus.detail == NotifyDetailNone || @@ -629,7 +628,6 @@ static void event_process(const XEvent *ec, gpointer data) frame_adjust_focus(client->frame, FALSE); /* focus_set_client(NULL) has already been called in this section or by focus_fallback */ - client_calc_layer(client); } } else if (client) |
