diff options
author | taiyu <[email protected]> | 2015-08-19 15:22:55 -0700 |
---|---|---|
committer | taiyu <[email protected]> | 2015-08-19 15:22:55 -0700 |
commit | a31f23f90c7259f48dcd02eaef08449a226460cd (patch) | |
tree | 4be4a4da602dbe4787dc48a579273042125c73e0 /sway/focus.c | |
parent | a90bd212a12314caed9f91d747bf515394bb50c9 (diff) |
fixed active_workspace update on focus change
Diffstat (limited to 'sway/focus.c')
-rw-r--r-- | sway/focus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/focus.c b/sway/focus.c index 7023d37d..f76b2d9a 100644 --- a/sway/focus.c +++ b/sway/focus.c @@ -20,6 +20,8 @@ static void update_focus(swayc_t *c) { // Case where output changes case C_OUTPUT: wlc_output_focus(c->handle); + //Set new workspace to the outputs focused workspace + active_workspace = c->focused; break; // Case where workspace changes |