Skip to content

Commit

Permalink
#1717: override redirect windows don't show properly with opengl on w…
Browse files Browse the repository at this point in the history
…in32

git-svn-id: https://xpra.org/svn/Xpra/trunk@18391 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 11, 2018
1 parent dd5d9c2 commit 6636472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/gtk_base/gtk_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ def get_client_window_classes(self, w, h, metadata, override_redirect):
ms = min(self.sx(self.gl_texture_size_limit), *self.gl_max_viewport_dims)
#win32 opengl doesn't do alpha (not sure why):
alpha = metadata.boolget("has-alpha", False)
if self.GLClientWindowClass is None or not self.opengl_enabled or w>ms or h>ms or (alpha and WIN32):
if self.GLClientWindowClass is None or not self.opengl_enabled or w>ms or h>ms or (WIN32 and (alpha or override_redirect)):
return [self.ClientWindowClass]
return [self.GLClientWindowClass, self.ClientWindowClass]

Expand Down

0 comments on commit 6636472

Please sign in to comment.