ligatures - moving hbcreatebuffer out of xresources condition ref. #118

This commit is contained in:
Bakkeby 2024-03-10 23:40:32 +01:00
parent 1da419eb35
commit 7976e611e3
1 changed files with 2 additions and 2 deletions

4
x.c
View File

@ -3782,12 +3782,12 @@ run:
if (!(xw.dpy = XOpenDisplay(NULL))) if (!(xw.dpy = XOpenDisplay(NULL)))
die("Can't open display\n"); die("Can't open display\n");
config_init(xw.dpy);
#endif // XRESOURCES_PATCH
#if LIGATURES_PATCH #if LIGATURES_PATCH
hbcreatebuffer(); hbcreatebuffer();
#endif // LIGATURES_PATCH #endif // LIGATURES_PATCH
config_init(xw.dpy);
#endif // XRESOURCES_PATCH
cols = MAX(cols, 1); cols = MAX(cols, 1);
rows = MAX(rows, 1); rows = MAX(rows, 1);
#if ALPHA_PATCH && ALPHA_FOCUS_HIGHLIGHT_PATCH #if ALPHA_PATCH && ALPHA_FOCUS_HIGHLIGHT_PATCH