Merge pull request #2536 from RyanDwyer/fix-nested-tabs

Fix rendering of nested tabs
master
Brian Ashworth 6 years ago committed by GitHub
commit 5f6dcffe47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -126,7 +126,7 @@ static void copy_pending_state(struct sway_container *container,
// Set focused_inactive_child to the direct tiling child // Set focused_inactive_child to the direct tiling child
struct sway_container *focus = struct sway_container *focus =
seat_get_focus_inactive_tiling(seat, container); 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) { while (focus->parent->type != C_WORKSPACE) {
focus = focus->parent; focus = focus->parent;
} }

Loading…
Cancel
Save