Skip to content

Commit

Permalink
fixup r17372: commit correct file to enable alpha on windows with GTK3
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@17373 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Nov 11, 2017
1 parent 8c9d883 commit 8eb66c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/xpra/client/gtk3/client_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def enable_alpha(self):
if visual is None or not screen.is_composited():
log.error("enable_alpha() cannot handle window transparency on screen %s", screen)
return False
log.info("enable_alpha() using rgba visual %s for wid %s", visual, self._id)
log("enable_alpha() using rgba visual %s for wid %s", visual, self._id)
self.set_visual(visual)
return True

Expand Down
7 changes: 3 additions & 4 deletions src/xpra/client/gtk_base/gtk_window_backing_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
# later version. See the file COPYING for details.

from xpra.util import envbool
from xpra.os_util import WIN32
from xpra.os_util import WIN32, PYTHON3

#transparency with GTK is not supported on MS Windows
#(it may work with GTK3?)
DEFAULT_HAS_ALPHA = not WIN32
#transparency with GTK is not supported on MS Windows with PYGTK:
DEFAULT_HAS_ALPHA = not WIN32 or PYTHON3
GTK_ALPHA_SUPPORTED = envbool("XPRA_ALPHA", DEFAULT_HAS_ALPHA)

0 comments on commit 8eb66c3

Please sign in to comment.