Bring unmanaged windows to front on output arrange

Fixes #312
This commit is contained in:
Drew DeVault 2015-12-16 19:20:34 -05:00
parent 2231acb790
commit f6da4dda4b
5 changed files with 37 additions and 1 deletions

View file

@ -247,6 +247,7 @@ bool workspace_switch(swayc_t *workspace) {
if (!set_focused_container(get_focused_view(workspace))) {
return false;
}
arrange_windows(workspace, -1, -1);
swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT);
arrange_windows(output, -1, -1);
return true;
}