From ed986c30f8f4954a545ca7d92bdab30d488b68ac Mon Sep 17 00:00:00 2001 From: Wolfgang Lux Date: Mon, 14 Feb 2011 22:40:21 +0000 Subject: [PATCH] Omit app icons and mini windows from the pager and task bar even when they are displayed at normal window level. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32166 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ Source/x11/XGServerWindow.m | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5d7b7a3..e3148f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-02-14 Wolfgang Lux + + * Source/x11/XGServerWindow.m (-orderwindow:::): Omit app icons + and mini windows from the pager and task bar even when they are + displayed at normal window level. + 2010-12-11 Fred Kiefer * Source/winlib/WIN32GState.m: Remove a few compiler warnings. diff --git a/Source/x11/XGServerWindow.m b/Source/x11/XGServerWindow.m index 24ec772..c751f05 100644 --- a/Source/x11/XGServerWindow.m +++ b/Source/x11/XGServerWindow.m @@ -2940,7 +2940,9 @@ static BOOL didCreatePixmaps; * * [self _resetDragTypesForWindow: GSWindowWithNumber(window->number)]; */ - if (window->win_attrs.window_level != NSNormalWindowLevel) + if ((window->win_attrs.window_level != NSNormalWindowLevel) || + ((window->win_attrs.window_style & + (NSIconWindowMask|NSMiniWindowMask)) != 0) { /* * Make any window which assumes the desktop level act as the background. @@ -2964,7 +2966,7 @@ static BOOL didCreatePixmaps; data1: generic.netstates.net_wm_state_skip_taskbar_atom data2: generic.netstates.net_wm_state_skip_pager_atom data3: 1]; - } + } } } XFlush(dpy);