Skip to content

Commit

Permalink
doh, fixup r23295: this is for GTK3 only
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@23296 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 25, 2019
1 parent d786ffe commit 3e9ee13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/xpra/gtk_common/gtk_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ def get_root_size():
keymap_get_for_display = gdk.Keymap.get_for_display

def get_default_cursor():
return gdk.Cursor.new(gdk.CursorType.X_CURSOR)
display = gdk.Display.get_default()
return gdk.Cursor.new_from_name(display, "default")
new_Cursor_for_display = gdk.Cursor.new_for_display
new_Cursor_from_pixbuf = gdk.Cursor.new_from_pixbuf
from gi.repository import GdkPixbuf #@UnresolvedImport
Expand Down Expand Up @@ -530,7 +531,7 @@ def get_root_size():
keymap_get_for_display = gdk.keymap_get_for_display

def get_default_cursor():
return gdk.Cursor.new_from_name("default")
return gdk.Cursor(gdk.X_CURSOR)
color_parse = gdk.color_parse
new_Cursor_for_display = gdk.Cursor
new_Cursor_from_pixbuf = gdk.Cursor
Expand Down

0 comments on commit 3e9ee13

Please sign in to comment.