From 834974b3ef426659deb0771ca5b6b3be97510be7 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 23 Dec 2014 04:07:26 +0000 Subject: [PATCH] #766 don't use 'POPUP' window for dialogs git-svn-id: https://xpra.org/svn/Xpra/trunk@8268 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/client/gtk_base/gtk_client_window_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xpra/client/gtk_base/gtk_client_window_base.py b/src/xpra/client/gtk_base/gtk_client_window_base.py index 70d706ce78..115b7fa9f1 100644 --- a/src/xpra/client/gtk_base/gtk_client_window_base.py +++ b/src/xpra/client/gtk_base/gtk_client_window_base.py @@ -90,8 +90,8 @@ def _is_popup(self, metadata): if self._override_redirect: return True window_types = metadata.get("window-type", []) - #skip decorations for any non-normal window that is transient for another window: - if "NORMAL" not in window_types and metadata.intget("transient-for", -1)>0: + #skip decorations for any non-normal non-dialog window that is transient for another window: + if ("NORMAL" not in window_types) and ("DIALOG" not in window_types) and metadata.intget("transient-for", -1)>0: return True popup_types = list(POPUP_TYPE_HINTS.intersection(window_types)) log("popup_types(%s)=%s", window_types, popup_types)