Skip to content

Commit

Permalink
#1570: on macos, use the cairo backend for transparent windows
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@18900 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Mar 28, 2018
1 parent 200fb11 commit 380b938
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 @@ -1061,7 +1061,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 (WIN32 and (alpha or override_redirect)):
if self.GLClientWindowClass is None or not self.opengl_enabled or w>ms or h>ms or (WIN32 and (alpha or override_redirect)) or (OSX and alpha):
return [self.ClientWindowClass]
return [self.GLClientWindowClass, self.ClientWindowClass]

Expand Down

0 comments on commit 380b938

Please sign in to comment.