change to USEXRESOURCES

This commit is contained in:
speediegq 2022-09-08 12:05:36 +02:00
parent c5356fcfe4
commit 2f98270f33
2 changed files with 3 additions and 3 deletions

View file

@ -232,4 +232,4 @@ char *termname = "st-256color"; /* $TERM value */
unsigned int tabspaces = 8;
/* Misc */
#define USEXRESOURCES /* Use .Xresources. Comment this line if you do not want .Xresources support. */
#define USEXRESOURCES 1 /* Use .Xresources. Set to 0 if you do not want .Xresources support. */

4
x.c
View file

@ -108,7 +108,7 @@ static void ttysend(const Arg *);
#include "external.h" /* include externalpipe options */
#include "char.h" /* include misc chars */
#ifdef USEXRESOURCES
#if USEXRESOURCES
#include "xresources.h" /* include .xresources/xrdb options */
#endif
@ -2956,7 +2956,7 @@ config_init(void)
return;
db = XrmGetStringDatabase(resm);
#ifdef USEXRESOURCES
#if USEXRESOURCES
for (p = resources; p < resources + LEN(resources); p++)
resource_load(db, p->name, p->type, p->dst);
#endif