Set wm_state_skip_pager instead of skip_pager (ditto for _tasklist) so that the skip pager/tasklist hints work correctly

This commit is contained in:
Ross Burton 2002-08-05 15:32:08 +00:00
parent 9cdd64b58f
commit 43c7a44e1d
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2002-08-05 Ross Burton <ross@burtonini.com>
* src/window.c: (meta_window_client_message): Set
->wm_state_skip_pager (ditto for _taskbar) instead of ->skip_pager
so that these hints actually work. Fixes #89850.
2002-08-04 Havoc Pennington <hp@redhat.com>
* src/frames.c (meta_frames_paint_to_drawable): init button

View File

@ -3280,7 +3280,7 @@ meta_window_client_message (MetaWindow *window,
if (first == display->atom_net_wm_state_skip_pager ||
second == display->atom_net_wm_state_skip_pager)
{
window->skip_pager =
window->wm_state_skip_pager =
(action == _NET_WM_STATE_ADD) ||
(action == _NET_WM_STATE_TOGGLE && !window->skip_pager);
@ -3290,7 +3290,7 @@ meta_window_client_message (MetaWindow *window,
if (first == display->atom_net_wm_state_skip_taskbar ||
second == display->atom_net_wm_state_skip_taskbar)
{
window->skip_taskbar =
window->wm_state_skip_taskbar =
(action == _NET_WM_STATE_ADD) ||
(action == _NET_WM_STATE_TOGGLE && !window->skip_taskbar);