diff options
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/xdg_shell.c | 2 | ||||
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 2 | ||||
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index b9ca396a..00448be7 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c | |||
@@ -333,7 +333,7 @@ static void handle_request_move(struct wl_listener *listener, void *data) { | |||
333 | struct wlr_xdg_toplevel_move_event *e = data; | 333 | struct wlr_xdg_toplevel_move_event *e = data; |
334 | struct sway_seat *seat = e->seat->seat->data; | 334 | struct sway_seat *seat = e->seat->seat->data; |
335 | if (e->serial == seat->last_button_serial) { | 335 | if (e->serial == seat->last_button_serial) { |
336 | seat_begin_move(seat, view->container, seat->last_button); | 336 | seat_begin_move_floating(seat, view->container, seat->last_button); |
337 | } | 337 | } |
338 | } | 338 | } |
339 | 339 | ||
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 0c121adc..d2c9a68b 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c | |||
@@ -330,7 +330,7 @@ static void handle_request_move(struct wl_listener *listener, void *data) { | |||
330 | struct wlr_xdg_toplevel_v6_move_event *e = data; | 330 | struct wlr_xdg_toplevel_v6_move_event *e = data; |
331 | struct sway_seat *seat = e->seat->seat->data; | 331 | struct sway_seat *seat = e->seat->seat->data; |
332 | if (e->serial == seat->last_button_serial) { | 332 | if (e->serial == seat->last_button_serial) { |
333 | seat_begin_move(seat, view->container, seat->last_button); | 333 | seat_begin_move_floating(seat, view->container, seat->last_button); |
334 | } | 334 | } |
335 | } | 335 | } |
336 | 336 | ||
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 6761b6bc..3619f202 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -449,7 +449,7 @@ static void handle_request_move(struct wl_listener *listener, void *data) { | |||
449 | return; | 449 | return; |
450 | } | 450 | } |
451 | struct sway_seat *seat = input_manager_current_seat(input_manager); | 451 | struct sway_seat *seat = input_manager_current_seat(input_manager); |
452 | seat_begin_move(seat, view->container, seat->last_button); | 452 | seat_begin_move_floating(seat, view->container, seat->last_button); |
453 | } | 453 | } |
454 | 454 | ||
455 | static void handle_request_resize(struct wl_listener *listener, void *data) { | 455 | static void handle_request_resize(struct wl_listener *listener, void *data) { |