[mutter] window: ignore skip-taskbar hint on parentless dialogs
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: ignore skip-taskbar hint on parentless dialogs
- Date: Mon, 26 Aug 2013 15:36:01 +0000 (UTC)
commit eeed3d605ba3b0b257591e2bd46536936f876630
Author: Giovanni Campagna <gcampagn redhat com>
Date: Mon Aug 26 14:47:10 2013 +0200
window: ignore skip-taskbar hint on parentless dialogs
Dialogs that don't have a parent should not be skip-taskbar,
otherwise they get lost and there is no way to recover them
(because they're not autoraised when activating the parent),
but toolkits and applications set the hint anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=673399
src/core/window.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 5e7b3c9..b109ec3 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -8395,10 +8395,13 @@ recalc_window_features (MetaWindow *window)
case META_WINDOW_DIALOG:
case META_WINDOW_MODAL_DIALOG:
- /* only skip taskbar if we have a real transient parent */
+ /* only skip taskbar if we have a real transient parent
+ (and ignore the application hints) */
if (window->xtransient_for != None &&
window->xtransient_for != window->screen->xroot)
window->skip_taskbar = TRUE;
+ else
+ window->skip_taskbar = FALSE;
break;
case META_WINDOW_NORMAL:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]