Skip to content

Commit

Permalink
transparency does not work on OSX (weird results at the best of times)
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@4934 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 13, 2013
1 parent f7fb4bd commit 42ae264
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/xpra/client/gtk2/window_backing.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
from xpra.client.window_backing_base import fire_paint_callbacks
from xpra.codecs.loader import has_codec

#don't bother trying gtk2 transparency on on MS Windows:
HAS_RGBA = not sys.platform.startswith("win")
#don't bother trying gtk2 transparency on on MS Windows (not supported):
#or on OSX (doesn't work)
HAS_RGBA = not sys.platform.startswith("win") and not sys.platform.startswith("darwin")
try:
#we need argb to un-premultiply alpha:
from xpra.codecs.argb.argb import unpremultiply_argb, unpremultiply_argb_in_place, byte_buffer_to_buffer #@UnresolvedImport
Expand Down

0 comments on commit 42ae264

Please sign in to comment.