mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
fixed active_workspace update on focus change
This commit is contained in:
parent
a90bd212a1
commit
a31f23f90c
3 changed files with 11 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue