Fix switching between focused outputs

This commit is contained in:
Drew DeVault 2015-08-18 08:20:59 -04:00
parent 868cb3ca71
commit a64b10df83
3 changed files with 32 additions and 1 deletions

View file

@ -16,7 +16,7 @@ static void update_focus(swayc_t *c) {
switch (c->type) {
case C_ROOT: return;
case C_OUTPUT:
wlc_output_focus(c->parent->handle);
wlc_output_focus(c->handle);
break;
// switching workspaces
case C_WORKSPACE: