diff options
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index 801dcee0..f05e156f 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c | |||
@@ -360,7 +360,7 @@ static void handle_request_move(struct wl_listener *listener, void *data) { | |||
360 | struct wlr_xdg_toplevel_move_event *e = data; | 360 | struct wlr_xdg_toplevel_move_event *e = data; |
361 | struct sway_seat *seat = e->seat->seat->data; | 361 | struct sway_seat *seat = e->seat->seat->data; |
362 | if (e->serial == seat->last_button_serial) { | 362 | if (e->serial == seat->last_button_serial) { |
363 | seat_begin_move_floating(seat, view->container, seat->last_button); | 363 | seatop_begin_move_floating(seat, view->container, seat->last_button); |
364 | } | 364 | } |
365 | } | 365 | } |
366 | 366 | ||
@@ -374,7 +374,7 @@ static void handle_request_resize(struct wl_listener *listener, void *data) { | |||
374 | struct wlr_xdg_toplevel_resize_event *e = data; | 374 | struct wlr_xdg_toplevel_resize_event *e = data; |
375 | struct sway_seat *seat = e->seat->seat->data; | 375 | struct sway_seat *seat = e->seat->seat->data; |
376 | if (e->serial == seat->last_button_serial) { | 376 | if (e->serial == seat->last_button_serial) { |
377 | seat_begin_resize_floating(seat, view->container, | 377 | seatop_begin_resize_floating(seat, view->container, |
378 | seat->last_button, e->edges); | 378 | seat->last_button, e->edges); |
379 | } | 379 | } |
380 | } | 380 | } |