diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2019-05-15 22:38:42 +0200 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2019-05-15 22:41:41 +0200 |
commit | 1c2e8f54cd68db0ff870cb60beda26ed93431290 (patch) | |
tree | 8d587e12497ba2b9ff2495f6b89797db43d52e2a /src/netwm.c | |
parent | 22fe30cdd99d111f043b3282a02f39df468c7ac2 (diff) | |
download | xfwm4-1c2e8f54cd68db0ff870cb60beda26ed93431290.tar.gz |
netwm: Do not skip standalone dialogs
Bug: 15400
Dialog windows which have no parent should not be skipped from taskbar.
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
Diffstat (limited to 'src/netwm.c')
-rw-r--r-- | src/netwm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/netwm.c b/src/netwm.c index 59567d39a..62ce44bbd 100644 --- a/src/netwm.c +++ b/src/netwm.c @@ -1289,13 +1289,16 @@ clientWindowType (Client * c) c->type = WINDOW_DIALOG; c->initial_layer = WIN_LAYER_NORMAL; /* Treat DIALOG without transient_for set as transient for group */ - FLAG_SET (c->flags, CLIENT_FLAG_SKIP_TASKBAR); if ((c->transient_for == None) || (!clientGetTransient (c))) { TRACE ("invalid transient 0x%lx specified for dialog window 0x%lx (%s)", c->transient_for, c->window, c->name); c->transient_for = c->screen_info->xroot; } + else + { + FLAG_SET (c->flags, CLIENT_FLAG_SKIP_TASKBAR); + } } else if (c->type_atom == display_info->atoms[NET_WM_WINDOW_TYPE_NORMAL]) { |