sends hidden views to back, visible view to front

This commit is contained in:
taiyu 2015-08-16 18:59:12 -07:00
parent ffb3458322
commit 4077238782
3 changed files with 7 additions and 3 deletions

View file

@ -237,7 +237,7 @@ void unfocus_all(swayc_t *container) {
}
void focus_view(swayc_t *view) {
sway_log(L_DEBUG, "Setting focus for %p", view);
sway_log(L_DEBUG, "Setting focus for %p:%ld", view, view->handle);
swayc_t *c = view;
//Set focus from root to view
while (c != &root_container) {