Skip to content

Commit

Permalink
avoid crashes: just don't try to do cursors on win32 (buggy win32 bui…
Browse files Browse the repository at this point in the history
…ld?)

git-svn-id: https://xpra.org/svn/Xpra/trunk@7625 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 15, 2014
1 parent 48e6253 commit 333f0c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/xpra/client/gtk3/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ def get_tray_menu_helper_classes(self):
def make_clipboard_helper(self):
return None

def set_windows_cursor(self, windows, cursor_data):
#avoid buggy win32 version:
if not sys.platform.startswith("win"):
GTKXpraClient.set_windows_cursor(self, windows, cursor_data)


def get_root_window(self):
return Gdk.Screen.get_default().get_root_window()
Expand Down

0 comments on commit 333f0c0

Please sign in to comment.