aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
authorBrian Ashworth <RedSoxFan@users.noreply.github.com>2018-08-29 00:47:46 -0400
committerGitHub <noreply@github.com>2018-08-29 00:47:46 -0400
commit5f6dcffe473cf14500fec94964ceeace0f8922bb (patch)
treee25b81fc431059554c90c65376181b5b08f35145 /sway/desktop
parented775103c8bc68db8423eeac179492aeb6bcdedb (diff)
parent3c4196b986f2781e6a72a8e230b653b73c67159b (diff)
Merge pull request #2536 from RyanDwyer/fix-nested-tabs
Fix rendering of nested tabs
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index 862ffee8..fdf24bd3 100644
--- a/sway/desktop/transaction.c
+++ b/sway/desktop/transaction.c
@@ -126,7 +126,7 @@ static void copy_pending_state(struct sway_container *container,
// Set focused_inactive_child to the direct tiling child
struct sway_container *focus =
seat_get_focus_inactive_tiling(seat, container);
- if (focus && focus->type == C_CONTAINER) {
+ if (focus && focus->type > C_WORKSPACE) {
while (focus->parent->type != C_WORKSPACE) {
focus = focus->parent;
}