Arrange backgrounds only when required

This commit is contained in:
Mykyta Holubakha 2016-07-21 22:47:35 +03:00
parent 464239f7ac
commit a2bc6f3bfd
4 changed files with 7 additions and 1 deletions

View file

@ -308,6 +308,7 @@ bool workspace_switch(swayc_t *workspace) {
return false;
}
swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT);
arrange_backgrounds();
arrange_windows(output, -1, -1);
return true;
}