fixed active_workspace update on focus change

This commit is contained in:
taiyu 2015-08-19 15:22:55 -07:00
parent a90bd212a1
commit a31f23f90c
3 changed files with 11 additions and 3 deletions

View file

@ -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