diff --git a/xpra/gtk/examples/initiate_moveresize.py b/xpra/gtk/examples/initiate_moveresize.py index bcab5871fd..e68ee36418 100755 --- a/xpra/gtk/examples/initiate_moveresize.py +++ b/xpra/gtk/examples/initiate_moveresize.py @@ -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)