#ifndef X11UTIL_H_ #define X11UTIL_H_ #include extern "C" { typedef struct _XDisplay Display; void AddPixmapToBackground(unsigned const char* imgData, const unsigned int width, const unsigned int height, const unsigned int depth, const int bytesPerLine, const size_t byteCount); unsigned int getKeyMask(Display *dpy); unsigned long getIdleTime(Display *dpy); } #endif /* X11UTIL_H_ */