aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-03-14 11:43:39 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-14 10:03:45 -0600
commitd8f74e4706104ac751706d5071838f97e3956a5e (patch)
treee502fbd08807d6a32b782fe48345d2cd39be56a6 /sway/commands.c
parentd64e8ba9469f4fa0ff693a22c88c1afa687c4c6c (diff)
Set prev_workspace_name based off of focus
This moves setting `seat->prev_workspace_name` from `workspace_switch` to `set_workspace`. `workspace_switch` is only called when using a `workspace` command to change the workspace so any workspace change based on criteria was not altering `seat->prev_workspace_name`. By moving it to `set_workspace`, which is called by `seat_set_focus`, it will change any time focus changes to a node on a different workspace
Diffstat (limited to 'sway/commands.c')
0 files changed, 0 insertions, 0 deletions