summaryrefslogblamecommitdiffstats
path: root/src/x11util.h
blob: 7934d208f6adfb1fde4d197fdf257ad9a9222ef9 (plain) (tree)
1
2
3
4
5
6
7
8
9


                  

                  
            
                                         

                                                                                                                                     
                                          
                                            


                       
#ifndef X11UTIL_H_
#define X11UTIL_H_

#include <cstddef>

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_ */