mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-04 09:27:59 +02:00
shell: Add mod+shift left-click as a resize binding
This lets us use compositor-initiated resize on laptops with touchpads and no middle buttons.
This commit is contained in:
parent
7cccfcab13
commit
0837fa9626
1 changed files with 3 additions and 0 deletions
|
|
@ -5548,6 +5548,9 @@ shell_add_bindings(struct weston_compositor *ec, struct desktop_shell *shell)
|
|||
weston_compositor_add_touch_binding(ec, mod, touch_move_binding, shell);
|
||||
weston_compositor_add_button_binding(ec, BTN_MIDDLE, mod,
|
||||
resize_binding, shell);
|
||||
weston_compositor_add_button_binding(ec, BTN_LEFT,
|
||||
mod | MODIFIER_SHIFT,
|
||||
resize_binding, shell);
|
||||
|
||||
if (ec->capabilities & WESTON_CAP_ROTATION_ANY)
|
||||
weston_compositor_add_button_binding(ec, BTN_RIGHT, mod,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue