Skip to content

Commit

Permalink
#766 don't use 'POPUP' window for dialogs
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@8268 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 23, 2014
1 parent eb1d3ba commit 834974b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpra/client/gtk_base/gtk_client_window_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 834974b

Please sign in to comment.