aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_down.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seatop_down.c')
-rw-r--r--sway/input/seatop_down.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/input/seatop_down.c b/sway/input/seatop_down.c
index 33f9b31a..7f394095 100644
--- a/sway/input/seatop_down.c
+++ b/sway/input/seatop_down.c
@@ -40,8 +40,6 @@ static void handle_finish(struct sway_seat *seat, uint32_t time_msec) {
40 cursor->cursor->x, cursor->cursor->y, &surface, &sx, &sy); 40 cursor->cursor->x, cursor->cursor->y, &surface, &sx, &sy);
41 cursor_send_pointer_motion(cursor, 0, node, surface, sx, sy); 41 cursor_send_pointer_motion(cursor, 0, node, surface, sx, sy);
42 } 42 }
43 seat_pointer_notify_button(seat, time_msec,
44 seat->seatop_button, WLR_BUTTON_RELEASED);
45} 43}
46 44
47static void handle_abort(struct sway_seat *seat) { 45static void handle_abort(struct sway_seat *seat) {
@@ -82,6 +80,5 @@ void seatop_begin_down(struct sway_seat *seat, struct sway_container *con,
82 seat->seatop_data = e; 80 seat->seatop_data = e;
83 seat->seatop_button = button; 81 seat->seatop_button = button;
84 82
85 seat_pointer_notify_button(seat, time_msec, button, WLR_BUTTON_PRESSED);
86 container_raise_floating(con); 83 container_raise_floating(con);
87} 84}