diff options
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index a2aa2e08..f5ade8dc 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -476,7 +476,7 @@ static void handle_request_move(struct wl_listener *listener, void *data) { | |||
476 | return; | 476 | return; |
477 | } | 477 | } |
478 | struct sway_seat *seat = input_manager_current_seat(); | 478 | struct sway_seat *seat = input_manager_current_seat(); |
479 | seatop_begin_move_floating(seat, view->container, seat->last_button); | 479 | seatop_begin_move_floating(seat, view->container); |
480 | } | 480 | } |
481 | 481 | ||
482 | static void handle_request_resize(struct wl_listener *listener, void *data) { | 482 | static void handle_request_resize(struct wl_listener *listener, void *data) { |
@@ -492,8 +492,7 @@ static void handle_request_resize(struct wl_listener *listener, void *data) { | |||
492 | } | 492 | } |
493 | struct wlr_xwayland_resize_event *e = data; | 493 | struct wlr_xwayland_resize_event *e = data; |
494 | struct sway_seat *seat = input_manager_current_seat(); | 494 | struct sway_seat *seat = input_manager_current_seat(); |
495 | seatop_begin_resize_floating(seat, view->container, | 495 | seatop_begin_resize_floating(seat, view->container, e->edges); |
496 | seat->last_button, e->edges); | ||
497 | } | 496 | } |
498 | 497 | ||
499 | static void handle_request_activate(struct wl_listener *listener, void *data) { | 498 | static void handle_request_activate(struct wl_listener *listener, void *data) { |