Skip to content

Commit

Permalink
Gtk3 had changed the get_pointer() return value
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 6, 2023
1 parent 3269c95 commit 2bd6c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/gtk/examples/initiate_moveresize.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def initiate_move(*_args):

def btn_callback(_btn, _event, direction):
cancel()
x, y = get_root_window().get_pointer()[:2]
x, y = get_root_window().get_pointer()[1:3]
source_indication = 1 #normal
button = 1
initiate(x, y, direction, button, source_indication)
Expand Down

0 comments on commit 2bd6c2a

Please sign in to comment.