mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 06:27:03 +01:00
support for compiling with xft2
This commit is contained in:
1 parent
8904783aee
commit
64468fcf63
4 files changed
+33
-6
No files matched your search
@@ -629,7 +629,12 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context)
|
||||
scrPtr->xftFontSetCache = WMCreateHashTable(WMStringPointerHashCallbacks);
|
||||
|
||||
#ifdef XFT
|
||||
|
||||
# ifdef XFT2
|
||||
scrPtr->hasXftSupport = 1;
|
||||
# else
|
||||
scrPtr->hasXftSupport = XftDefaultHasRender(scrPtr->display);
|
||||
# endif
|
||||
|
||||
scrPtr->xftdraw = XftDrawCreate(scrPtr->display, W_DRAWABLE(scrPtr),
|
||||
scrPtr->visual, scrPtr->colormap);
|
||||
|
||||
Reference in new issue
Block a user