diff --git a/src/view.c b/src/view.c index 064d0ba3..b717f9da 100644 --- a/src/view.c +++ b/src/view.c @@ -122,7 +122,7 @@ static inline enum window_node_split window_node_get_split(struct window_node *n { if (node->split != SPLIT_NONE) return node->split; if (g_space_manager.split_type != SPLIT_AUTO) return g_space_manager.split_type; - return node->area.w / node->area.h >= 1.618f ? SPLIT_Y : SPLIT_X; + return node->area.w >= node->area.h ? SPLIT_Y : SPLIT_X; } static inline float window_node_get_ratio(struct window_node *node)