aboutsummaryrefslogtreecommitdiff
path: root/include/stringop.h
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2019-03-20 22:16:53 +1000
committerDrew DeVault <sir@cmpwn.com>2019-03-20 08:55:28 -0600
commitcdcc2a5bb52a34865eee2ec3d09a38b047c08ffd (patch)
tree326f7c5be7a51d56ce5617d6bc536c94db3cf129 /include/stringop.h
parentbdb402404cd6d54242b0b1dc2360cfc5679e52f2 (diff)
Support focus <direction> for floating containers
This kind of worked before in that focus would change, but it wasn't intentionally supported and had side effects such as not raising the container, and being unable to cycle through all floaters depending on the direction used. This commit makes it properly supported. The new focus is chosen based on the distance to the center point of each floating container in the workspace, and the container is raised. In a multi output setup, if both visible workspaces have floating containers, focus will NOT cross into the other output. It is assumed the user will use a workspace binding in this case. If two floating containers occupy the exact same center point and you try to focus in a direction, the behaviour is undefined.
Diffstat (limited to 'include/stringop.h')
0 files changed, 0 insertions, 0 deletions