Skip to content

Commit

Permalink
#500: completely disable RGBA pixel format for OSX and win32
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@5262 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 24, 2014
1 parent 752efbf commit b98fd66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/xpra/client/ui_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,9 @@ def make_hello(self):
"encodings.core" : self.get_core_encodings(),
"encodings.rgb_formats" : ["RGB", "RGBA"],
})
if sys.platform.startswith("win") or sys.platform.startswith("darwin"):
#win32 and osx cannot handle transparency, so don't bother with RGBA
capabilities["encodings.rgb_formats"] = ["RGB", ]
control_commands = ["show_session_info", "enable_bencode", "enable_zlib"]
from xpra.net.protocol import use_bencode, use_rencode
if use_lz4:
Expand Down

0 comments on commit b98fd66

Please sign in to comment.