From 333f0c0378d09a9b2eef971d501c96af6ba4e34d Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 15 Sep 2014 15:32:44 +0000 Subject: [PATCH] avoid crashes: just don't try to do cursors on win32 (buggy win32 build?) git-svn-id: https://xpra.org/svn/Xpra/trunk@7625 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/client/gtk3/client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xpra/client/gtk3/client.py b/src/xpra/client/gtk3/client.py index 6c9c82edcf..f7bd25cdc3 100644 --- a/src/xpra/client/gtk3/client.py +++ b/src/xpra/client/gtk3/client.py @@ -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()