Add wallpapers to output command

This commit is contained in:
Drew DeVault 2015-11-19 18:55:17 -05:00
parent 79b277fe9b
commit 5728307520
5 changed files with 59 additions and 19 deletions

View file

@ -43,6 +43,11 @@ static bool handle_output_created(wlc_handle output) {
swayc_t *ws = op->children->items[0];
workspace_switch(ws);
}
// Fixes issues with backgrounds and wlc
wlc_handle prev = wlc_get_focused_output();
wlc_output_focus(output);
wlc_output_focus(prev);
return true;
}