mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
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.
This commit is contained in:
parent
3faceadffe
commit
5ba2ae9c6a
2 changed files with 42 additions and 0 deletions
|
|
@ -474,6 +474,7 @@ void dispatch_cursor_button(struct sway_cursor *cursor,
|
|||
if (cursor->seat->operation != OP_NONE &&
|
||||
button == cursor->seat->op_button && state == WLR_BUTTON_RELEASED) {
|
||||
seat_end_mouse_operation(cursor->seat);
|
||||
seat_pointer_notify_button(cursor->seat, time_msec, button, state);
|
||||
return;
|
||||
}
|
||||
if (time_msec == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue