diff options
author | 2018-07-25 23:34:00 +1000 | |
---|---|---|
committer | 2018-07-26 19:18:47 +1000 | |
commit | a90f2dbde9866a34e91b242bb06071e471d32eb3 (patch) | |
tree | 9176e2b130151b4ea3aadfcbde64d18352bab517 /README.el.md | |
parent | Merge pull request #2356 from RyanDwyer/fullscreen-containers (diff) | |
download | sway-a90f2dbde9866a34e91b242bb06071e471d32eb3.tar.gz sway-a90f2dbde9866a34e91b242bb06071e471d32eb3.tar.zst sway-a90f2dbde9866a34e91b242bb06071e471d32eb3.zip |
Refactor view_map
* Move workspace selection into separate function
* Instead of keeping a `prev_focus` variable, do the check in
`should_focus` (ie. views can only take focus if they're mapped into the
active workspace)
* Fix assign-to-output - it previously set `prev_focus` but should be
`target_sibling`
* Remove call to `workspace_switch` as we'll only ever focus the view if
it's in the active workspace
Diffstat (limited to 'README.el.md')
0 files changed, 0 insertions, 0 deletions