mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
Fix build errors with --disable-x11.
This commit is contained in:
parent
2fa5f97edb
commit
c494feafe1
@ -336,6 +336,7 @@ void llua_inotify_query(int wd, int mask)
|
|||||||
}
|
}
|
||||||
#endif /* HAVE_SYS_INOTIFY_H */
|
#endif /* HAVE_SYS_INOTIFY_H */
|
||||||
|
|
||||||
|
#ifdef X11
|
||||||
void llua_draw_pre_hook(void)
|
void llua_draw_pre_hook(void)
|
||||||
{
|
{
|
||||||
if (!lua_L || !draw_pre) return;
|
if (!lua_L || !draw_pre) return;
|
||||||
@ -463,4 +464,5 @@ void llua_update_window_table(int text_start_x, int text_start_y, int text_width
|
|||||||
|
|
||||||
lua_setglobal(lua_L, "conky_window");
|
lua_setglobal(lua_L, "conky_window");
|
||||||
}
|
}
|
||||||
|
#endif /* X11 */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user