diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 4b969cbd7..74e584889 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -2683,7 +2683,8 @@ handle_begin_move (MetaDisplay *display, META_GRAB_OP_KEYBOARD_MOVING | META_GRAB_OP_WINDOW_FLAG_UNCONSTRAINED, device, NULL, - clutter_event_get_time ((ClutterEvent *) event)); + clutter_event_get_time ((ClutterEvent *) event), + NULL); } } @@ -2707,7 +2708,8 @@ handle_begin_resize (MetaDisplay *display, META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN | META_GRAB_OP_WINDOW_FLAG_UNCONSTRAINED, device, NULL, - clutter_event_get_time ((ClutterEvent *) event)); + clutter_event_get_time ((ClutterEvent *) event), + NULL); } } diff --git a/src/core/window.c b/src/core/window.c index 812e59dda..3bdd2e451 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -6076,19 +6076,21 @@ meta_window_is_ancestor_of_transient (MetaWindow *window, * @device: (nullable): * @sequence: (nullable): * @timestamp: + * @pos_hint: (nullable): **/ gboolean meta_window_begin_grab_op (MetaWindow *window, MetaGrabOp op, ClutterInputDevice *device, ClutterEventSequence *sequence, - guint32 timestamp) + guint32 timestamp, + graphene_point_t *pos_hint) { return meta_compositor_drag_window (window->display->compositor, window, op, device, sequence, timestamp, - NULL); + pos_hint); } MetaStackLayer @@ -7456,7 +7458,8 @@ meta_window_handle_ungrabbed_event (MetaWindow *window, op, clutter_event_get_device (event), clutter_event_get_event_sequence (event), - time_ms); + time_ms, + NULL); } } } @@ -7477,7 +7480,8 @@ meta_window_handle_ungrabbed_event (MetaWindow *window, META_GRAB_OP_WINDOW_FLAG_UNCONSTRAINED, clutter_event_get_device (event), clutter_event_get_event_sequence (event), - time_ms); + time_ms, + NULL); } } } diff --git a/src/meta/window.h b/src/meta/window.h index bbac771af..d6f7e0e31 100644 --- a/src/meta/window.h +++ b/src/meta/window.h @@ -399,7 +399,8 @@ gboolean meta_window_begin_grab_op (MetaWindow *window, MetaGrabOp op, ClutterInputDevice *device, ClutterEventSequence *sequence, - guint32 timestamp); + guint32 timestamp, + graphene_point_t *pos_hint); META_EXPORT gboolean meta_window_can_maximize (MetaWindow *window); diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 0028f26dc..93966ed64 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -1615,7 +1615,8 @@ meta_wayland_surface_begin_grab_op (MetaWaylandSurface *surface, return meta_window_begin_grab_op (window, grab_op, device, sequence, - meta_display_get_current_time_roundtrip (window->display)); + meta_display_get_current_time_roundtrip (window->display), + NULL); } /** diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c index 7f31330f4..0e0759a53 100644 --- a/src/x11/window-x11.c +++ b/src/x11/window-x11.c @@ -3406,7 +3406,8 @@ meta_window_x11_client_message (MetaWindow *window, meta_window_begin_grab_op (window, op, clutter_seat_get_pointer (seat), NULL, - timestamp); + timestamp, + NULL); } else if (op != META_GRAB_OP_NONE && ((window->has_move_func && op == META_GRAB_OP_MOVING) || @@ -3441,7 +3442,8 @@ meta_window_x11_client_message (MetaWindow *window, meta_window_begin_grab_op (window, op, device, sequence, - timestamp); + timestamp, + NULL); window_drag = meta_compositor_get_current_window_drag (window->display->compositor);