diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-22 22:14:36 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-22 23:10:19 +1000 |
commit | 5ba2ae9c6a4372cbf6f8867b711bb55ef6937cb4 (patch) | |
tree | d2a4d15c12f19fb7ef26a40b3701870fca9ab773 /sway/input/cursor.c | |
parent | Fix focus bug with floating containers (diff) | |
download | sway-5ba2ae9c6a4372cbf6f8867b711bb55ef6937cb4.tar.gz sway-5ba2ae9c6a4372cbf6f8867b711bb55ef6937cb4.tar.zst sway-5ba2ae9c6a4372cbf6f8867b711bb55ef6937cb4.zip |
Implement request_move and request_resize for xwayland views
I discovered we have to send a click event when ending the move or
resize operation to make xwayland's requests work correctly.
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 54cd3bf7..f9b59fcc 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -474,6 +474,7 @@ void dispatch_cursor_button(struct sway_cursor *cursor, | |||
474 | if (cursor->seat->operation != OP_NONE && | 474 | if (cursor->seat->operation != OP_NONE && |
475 | button == cursor->seat->op_button && state == WLR_BUTTON_RELEASED) { | 475 | button == cursor->seat->op_button && state == WLR_BUTTON_RELEASED) { |
476 | seat_end_mouse_operation(cursor->seat); | 476 | seat_end_mouse_operation(cursor->seat); |
477 | seat_pointer_notify_button(cursor->seat, time_msec, button, state); | ||
477 | return; | 478 | return; |
478 | } | 479 | } |
479 | if (time_msec == 0) { | 480 | if (time_msec == 0) { |