Skip to content

Commit

Permalink
#919: OSX doesn't need the posix display source, make it optional
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@10833 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 14, 2015
1 parent 144db4e commit 3eac0b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/xpra/platform/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,10 @@ def main():
#naughty, but how else can I hook this up?
import os
if os.name=="posix":
from xpra.x11.bindings import posix_display_source #@UnusedImport
try:
from xpra.x11.bindings import posix_display_source #@UnusedImport
except:
pass #maybe running on OSX? hope for the best..
i = get_info()
for k in sorted(i.keys()):
v = i[k]
Expand Down

0 comments on commit 3eac0b4

Please sign in to comment.