aboutsummaryrefslogtreecommitdiff
path: root/common/pango.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkansahin824@proton.me>2024-10-08 11:09:57 -0500
committerGitHub <noreply@github.com>2024-10-08 18:09:57 +0200
commit7f1cd0b73ba3290f8ee5f81fdf7f1ffa4c642ea7 (patch)
tree5c61035d12b8e0d42df8751dbc69f89221491916 /common/pango.c
parentf855b0898bf00285d5a7b840963b327230486632 (diff)
input/mouse: bugfix button2 being interpreted as trying to move the container
Man sway(5) specifies that when tiling_drag is enable, the floating_mod can be used to drag tiling, as well as floating containers. However the current code indiscriminately assumes any button press to be intended for moving the container, consequently causing an unintended call to `seatop_move_tilting:handle_button` rather than `seatop_default:handle_button` to pass `state=WL_POINTER_BUTTON_STATE_RELEASED` to `get_active_mouse_binding` My idea was to make 'Handle moving a tiling container' follow the same path as 'Handle moving a floating container' because the initial call to handle moving a floating correctly exits that branch and ends up passing the RELEASED state to `get_active_mouse_binding`. Fixes #8334
Diffstat (limited to 'common/pango.c')
0 files changed, 0 insertions, 0 deletions