diff options
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 48117287..75f2d5a6 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -344,7 +344,7 @@ static bool handle_view_created(wlc_handle handle) { | |||
344 | } else { | 344 | } else { |
345 | if (focused->type == C_WORKSPACE && | 345 | if (focused->type == C_WORKSPACE && |
346 | /* focused->children->length == 0 && */ | 346 | /* focused->children->length == 0 && */ |
347 | (focused->layout == L_TABBED || focused->layout == L_STACKED)) { | 347 | (focused->workspace_layout == L_TABBED || focused->workspace_layout == L_STACKED)) { |
348 | // will wrap the view in a container later on | 348 | // will wrap the view in a container later on |
349 | encapsulate_view = true; | 349 | encapsulate_view = true; |
350 | } | 350 | } |