aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-07 16:06:36 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-07 16:06:36 -0400
commitc0f9ee7bd1fc70672dcf64a19c9fbbf5a80b12b0 (patch)
tree90e2f7261e5e9191bea374459a9b5c7fc0acedf3 /sway/tree/layout.c
parent4b200869b2769a41d087c70e3e80124b2ed51064 (diff)
seat get focus inactive view
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index e81facc6..ce4457b1 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -872,7 +872,7 @@ struct sway_container *container_get_in_direction(
}
if (next->children && next->children->length) {
// TODO consider floating children as well
- return seat_get_focus_by_type(seat, next, C_VIEW);
+ return seat_get_focus_inactive_view(seat, next);
} else {
return next;
}
@@ -910,7 +910,7 @@ struct sway_container *container_get_in_direction(
wlr_log(L_DEBUG,
"cont %d-%p dir %i sibling %d: %p", idx,
container, dir, desired, desired_con);
- struct sway_container *next = seat_get_focus_by_type(seat, desired_con, C_VIEW);
+ struct sway_container *next = seat_get_focus_inactive_view(seat, desired_con);
return next;
}
}