Skip to content

Commit 0ac7bab

Browse files
committed
Always force 2 clients to split vertically
Just remove the FORCE_VSPLIT option.
1 parent f645088 commit 0ac7bab

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

config.def.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ static const int nmaster = 1; /* number of clients in master area */
8282
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
8383
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
8484

85-
#define FORCE_VSPLIT 1 /* nrowgrid layout: force two clients to always split vertically */
8685
#include "vanitygaps.c"
8786

8887
/* mouse scroll resize */

vanitygaps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ nrowgrid(Monitor *m)
631631
return;
632632

633633
/* force 2 clients to always split vertically */
634-
if (FORCE_VSPLIT && n == 2)
634+
if (n == 2)
635635
rows = 1;
636636

637637
/* never allow empty rows */

0 commit comments

Comments
 (0)