dont let clients be above and below
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
openbox/client.c
→
openbox/client.c
@@ -714,11 +714,12 @@ client_update_transient_for(self);
client_update_wmhints(self); client_get_startup_id(self); client_get_desktop(self); - client_get_state(self); client_get_shaped(self); client_get_mwm_hints(self); client_get_type(self);/* this can change the mwmhints for special cases */ + + client_get_state(self); { /* a couple type-based defaults for new windows */@@ -2565,7 +2566,9 @@ } else if (state == prop_atoms.net_wm_state_fullscreen) {
fullscreen = TRUE; } else if (state == prop_atoms.net_wm_state_above) { self->above = TRUE; + self->below = FALSE; } else if (state == prop_atoms.net_wm_state_below) { + self->above = FALSE; self->below = TRUE; } else if (state == prop_atoms.ob_wm_state_undecorated) { undecorated = TRUE;