mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-05 13:05:59 +01:00
Update seat pointer on meta move/resize/rotate
This will send the button pressed event to the client. This shouldn't be a problem since sebsequent pointer movements are not sent to the client. Thus the client will not for example start selecting text when it is being resized using the compositor keybindigns.
This commit is contained in:
parent
7ae8800a63
commit
6567a35903
1 changed files with 3 additions and 0 deletions
|
@ -244,6 +244,9 @@ static void roots_cursor_press_button(struct roots_cursor *cursor,
|
|||
roots_seat_begin_rotate(seat, view);
|
||||
break;
|
||||
}
|
||||
if (!is_touch) {
|
||||
wlr_seat_pointer_notify_button(seat->seat, time, button, state);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue