From c97357c7e2a9eefef01ac1efb26cbe88cf41667d Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Thu, 2 Jan 2025 23:11:48 +0100 Subject: [PATCH] #2479 change config option from global to space specific --- src/view.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/view.c b/src/view.c index 92e7ccf2..0a7a8c23 100644 --- a/src/view.c +++ b/src/view.c @@ -137,8 +137,10 @@ static inline enum window_node_split window_node_get_split(struct view *view, st { if (node->split != SPLIT_NONE) return node->split; - if (view->split_type != SPLIT_NONE && view->split_type != SPLIT_AUTO) { - return view->split_type; + if (view->split_type != SPLIT_NONE) { + if (view->split_type != SPLIT_AUTO) { + return view->split_type; + } } else if (g_space_manager.split_type != SPLIT_AUTO) { return g_space_manager.split_type; }