aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/exec_always.c
diff options
context:
space:
mode:
authorJonathan Buch <jbuch@synyx.de>2018-09-27 18:32:55 +0200
committerJonathan Buch <jbuch@synyx.de>2018-10-03 16:23:14 +0200
commit7727d54faf2939e30f82da562de83dbcda1749db (patch)
treef529d6896885f99d4551b6303c5d5f25a5c71508 /sway/commands/exec_always.c
parent8bec0c90c71439027cec6d35438e3660196e5584 (diff)
Fix focusing topmost floating windows
Re-focus on the container on which the cursor hovers over. A special case is, if there are menus or other subsurfaces open in the focused container. It will prefer the focused container as long as there are subsurfaces. This commit starts caching the previous node as well as the previous x/y cursor position. Re-calculating the previous focused node by looking at the current state of the cursor position does not work, if the environment changes.
Diffstat (limited to 'sway/commands/exec_always.c')
0 files changed, 0 insertions, 0 deletions