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:
Havoc Pennington 2002-10-16 14:53:19 +00:00 committed by Havoc Pennington
parent e3cfa163d0
commit 17ac646f70
2 changed files with 8 additions and 1 deletions

View File

@ -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>
* src/display.c (event_callback): Ignore EnterNotify events when

View File

@ -3409,6 +3409,7 @@ meta_window_client_message (MetaWindow *window,
(action == _NET_WM_STATE_ADD) ||
(action == _NET_WM_STATE_TOGGLE && !window->wm_state_above);
meta_window_update_layer (window);
set_net_wm_state (window);
}
@ -3418,7 +3419,8 @@ meta_window_client_message (MetaWindow *window,
window->wm_state_below =
(action == _NET_WM_STATE_ADD) ||
(action == _NET_WM_STATE_TOGGLE && !window->wm_state_below);
meta_window_update_layer (window);
set_net_wm_state (window);
}