Merge pull request #611 from DonOregano/fix-resize-freeze

Make pointer button release outside window still count down the button_count
master
Drew DeVault 7 years ago committed by GitHub
commit 78dc0c7de1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) { if (!is_touch) {
wlr_seat_pointer_notify_button(seat->seat, time, button, state); wlr_seat_pointer_notify_button(seat->seat, time, button, state);
} }

Loading…
Cancel
Save