Adding xrdb patch

This commit is contained in:
bakkeby
2019-09-15 22:45:22 +02:00
parent 30e0a3b5e4
commit f8f67508d8
9 changed files with 200 additions and 32 deletions

5
dwm.c
View File

@ -3106,6 +3106,11 @@ main(int argc, char *argv[])
if (!(dpy = XOpenDisplay(NULL)))
die("dwm: cannot open display");
checkotherwm();
#if XRDB_PATCH
XrmInitialize();
loadxrdb();
#endif
setup();
#ifdef __OpenBSD__
if (pledge("stdio rpath proc exec", NULL) == -1)