Add XRESOURCES_RELOAD_PATCH
This commit is contained in:
parent
ec513b230a
commit
540a923fb9
4 changed files with 43 additions and 4 deletions
6
x.c
6
x.c
|
|
@ -2576,12 +2576,14 @@ run:
|
|||
|
||||
setlocale(LC_CTYPE, "");
|
||||
XSetLocaleModifiers("");
|
||||
#if XRESOURCES_PATCH
|
||||
#if XRESOURCES_RELOAD_PATCH
|
||||
reload_config(-1);
|
||||
#elif XRESOURCES_PATCH
|
||||
if (!(xw.dpy = XOpenDisplay(NULL)))
|
||||
die("Can't open display\n");
|
||||
|
||||
config_init();
|
||||
#endif // XRESOURCES_PATCH
|
||||
#endif // XRESOURCES_RELOAD_PATCH
|
||||
cols = MAX(cols, 1);
|
||||
rows = MAX(rows, 1);
|
||||
tnew(cols, rows);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue