aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/input/drag_lock.c
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2020-10-22 00:37:29 -0400
committerSimon Ser <contact@emersion.fr>2022-10-21 10:05:00 +0200
commit5e514e6474754ea6a4b4d1bfc5738457a0fb41cf (patch)
tree81015cbe6fe5fe8cb8b393b57a8f867571b6698c /sway/commands/input/drag_lock.c
parent9400bd963c59fd59f597c1477b8021a82ca0a72e (diff)
input: tweak focus behavior to allow focusing parent containers
Sway focuses the inactive child when focusing split containers. However, there is currently no way to focus the parent container itself by mouse. A user must use the keyboard to do so. This commit maintains the current behavior, but makes it such that a second click on the split container titlebar (i.e., after its children are visible) focuses the split container itself.
Diffstat (limited to 'sway/commands/input/drag_lock.c')
0 files changed, 0 insertions, 0 deletions