mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-27 03:49:49 +01:00
Merge pull request #611 from DonOregano/fix-resize-freeze
Make pointer button release outside window still count down the button_count
This commit is contained in:
commit
78dc0c7de1
1 changed files with 3 additions and 1 deletions
|
@ -261,7 +261,9 @@ static void roots_cursor_press_button(struct roots_cursor *cursor,
|
|||
}
|
||||
}
|
||||
|
||||
if (view && surface) {
|
||||
if ((view && surface) ||
|
||||
(state == WLR_BUTTON_RELEASED &&
|
||||
seat->seat->pointer_state.button_count != 0)) {
|
||||
if (!is_touch) {
|
||||
wlr_seat_pointer_notify_button(seat->seat, time, button, state);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue