CENTER_PATCH Fix (#28)

Changed default config for the centered patch to be off by default.
This commit is contained in:
Johnny Mast 2023-12-13 09:32:30 +01:00 committed by GitHub
parent 6bd3860e4b
commit 0d6d5ac5cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ static int incremental = 0; /* -r option; if 1, outputs text ea
static int instant = 0; /* -n option; if 1, selects matching item without the need to press enter */
#endif // INSTANT_PATCH
#if CENTER_PATCH
static int center = 1; /* -c option; if 0, dmenu won't be centered on the screen */
static int center = 0; /* -c option; if 0, dmenu won't be centered on the screen */
static int min_width = 500; /* minimum width when centered */
#endif // CENTER_PATCH
#if BARPADDING_PATCH
@ -150,4 +150,4 @@ static unsigned int border_width = 0;
* Use prefix matching by default; can be inverted with the -x flag.
*/
static int use_prefix = 1;
#endif // PREFIXCOMPLETION_PATCH
#endif // PREFIXCOMPLETION_PATCH