aboutsummaryrefslogtreecommitdiff
path: root/include/sway/scratchpad.h
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-07-25 23:34:00 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-07-26 19:18:47 +1000
commita90f2dbde9866a34e91b242bb06071e471d32eb3 (patch)
tree9176e2b130151b4ea3aadfcbde64d18352bab517 /include/sway/scratchpad.h
parent75ebeb4a167ca218af37fa9041223a6450dc20f4 (diff)
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 'include/sway/scratchpad.h')
0 files changed, 0 insertions, 0 deletions