summaryrefslogtreecommitdiffstats
path: root/sway/layout.c
diff options
context:
space:
mode:
authorLibravatar taiyu <taiyu.len@gmail.com>2015-08-16 18:59:12 -0700
committerLibravatar taiyu <taiyu.len@gmail.com>2015-08-16 18:59:12 -0700
commit40772387829736f5a73bc4f97968b2e44b28a333 (patch)
tree9bd9d5380a4da8f1abdbedaf85367b5daeecc9f4 /sway/layout.c
parentfocus changes when mouse moves over border instead of all mouse movement (diff)
downloadsway-40772387829736f5a73bc4f97968b2e44b28a333.tar.gz
sway-40772387829736f5a73bc4f97968b2e44b28a333.tar.zst
sway-40772387829736f5a73bc4f97968b2e44b28a333.zip
sends hidden views to back, visible view to front
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/layout.c b/sway/layout.c
index a6d6fcbb..963bd8dc 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -237,7 +237,7 @@ void unfocus_all(swayc_t *container) {
237} 237}
238 238
239void focus_view(swayc_t *view) { 239void focus_view(swayc_t *view) {
240 sway_log(L_DEBUG, "Setting focus for %p", view); 240 sway_log(L_DEBUG, "Setting focus for %p:%ld", view, view->handle);
241 swayc_t *c = view; 241 swayc_t *c = view;
242 //Set focus from root to view 242 //Set focus from root to view
243 while (c != &root_container) { 243 while (c != &root_container) {