change to USEXRESOURCES
This commit is contained in:
parent
c5356fcfe4
commit
2f98270f33
|
@ -232,4 +232,4 @@ char *termname = "st-256color"; /* $TERM value */
|
||||||
unsigned int tabspaces = 8;
|
unsigned int tabspaces = 8;
|
||||||
|
|
||||||
/* Misc */
|
/* 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
4
x.c
|
@ -108,7 +108,7 @@ static void ttysend(const Arg *);
|
||||||
#include "external.h" /* include externalpipe options */
|
#include "external.h" /* include externalpipe options */
|
||||||
#include "char.h" /* include misc chars */
|
#include "char.h" /* include misc chars */
|
||||||
|
|
||||||
#ifdef USEXRESOURCES
|
#if USEXRESOURCES
|
||||||
#include "xresources.h" /* include .xresources/xrdb options */
|
#include "xresources.h" /* include .xresources/xrdb options */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2956,7 +2956,7 @@ config_init(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
db = XrmGetStringDatabase(resm);
|
db = XrmGetStringDatabase(resm);
|
||||||
#ifdef USEXRESOURCES
|
#if USEXRESOURCES
|
||||||
for (p = resources; p < resources + LEN(resources); p++)
|
for (p = resources; p < resources + LEN(resources); p++)
|
||||||
resource_load(db, p->name, p->type, p->dst);
|
resource_load(db, p->name, p->type, p->dst);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue