From 43c7a44e1db2869ee6c9bc12c8dcf793853e9184 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 5 Aug 2002 15:32:08 +0000 Subject: [PATCH] Set wm_state_skip_pager instead of skip_pager (ditto for _tasklist) so that the skip pager/tasklist hints work correctly --- ChangeLog | 6 ++++++ src/window.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1332decdf..ce403bbe2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-08-05 Ross Burton + + * 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 * src/frames.c (meta_frames_paint_to_drawable): init button diff --git a/src/window.c b/src/window.c index 1cc798ef0..e02d6beea 100644 --- a/src/window.c +++ b/src/window.c @@ -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);