mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
update window layer when above/below state is changed. Fixed by Ross
2002-10-16 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_client_message): update window layer when above/below state is changed. Fixed by Ross Burton.
This commit is contained in:
parent
e3cfa163d0
commit
17ac646f70
@ -1,3 +1,8 @@
|
|||||||
|
2002-10-16 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/window.c (meta_window_client_message): update window layer
|
||||||
|
when above/below state is changed. Fixed by Ross Burton.
|
||||||
|
|
||||||
2002-10-14 Federico Mena Quintero <federico@ximian.com>
|
2002-10-14 Federico Mena Quintero <federico@ximian.com>
|
||||||
|
|
||||||
* src/display.c (event_callback): Ignore EnterNotify events when
|
* src/display.c (event_callback): Ignore EnterNotify events when
|
||||||
|
@ -3409,6 +3409,7 @@ meta_window_client_message (MetaWindow *window,
|
|||||||
(action == _NET_WM_STATE_ADD) ||
|
(action == _NET_WM_STATE_ADD) ||
|
||||||
(action == _NET_WM_STATE_TOGGLE && !window->wm_state_above);
|
(action == _NET_WM_STATE_TOGGLE && !window->wm_state_above);
|
||||||
|
|
||||||
|
meta_window_update_layer (window);
|
||||||
set_net_wm_state (window);
|
set_net_wm_state (window);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3418,7 +3419,8 @@ meta_window_client_message (MetaWindow *window,
|
|||||||
window->wm_state_below =
|
window->wm_state_below =
|
||||||
(action == _NET_WM_STATE_ADD) ||
|
(action == _NET_WM_STATE_ADD) ||
|
||||||
(action == _NET_WM_STATE_TOGGLE && !window->wm_state_below);
|
(action == _NET_WM_STATE_TOGGLE && !window->wm_state_below);
|
||||||
|
|
||||||
|
meta_window_update_layer (window);
|
||||||
set_net_wm_state (window);
|
set_net_wm_state (window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user