diff options
author | Lars Hagström <lars@foldspace.nu> | 2018-02-07 17:42:31 +0100 |
---|---|---|
committer | Lars Hagström <lars@foldspace.nu> | 2018-02-07 17:42:31 +0100 |
commit | b181f793c393527d6bc955b4762a6945cbe65d1b (patch) | |
tree | eafc38f11c2db1ff62562e6db2acb9deb608c9d8 /include/backend/wayland.h | |
parent | 9d7a9fc9d4b9dbe997120f37bb7bc62aed361e0b (diff) |
Make pointer button release outside window still count down the button_count.
When double-clicking a maximized window title, so that the windows size is restored and the mouse pointer ends up _outside_ the window it becomes impossible to move windows.
The reason is that the button_count variable is not counted down if the mouse button is released outside the window, so the button_count remains incremented even after the button is released.
This patch adds a call to wlr_seat_pointer_notify_button if the mouse button is released outside the window.
(I am a complete noob to wlroots, so be kind...)
Diffstat (limited to 'include/backend/wayland.h')
0 files changed, 0 insertions, 0 deletions