summaryrefslogtreecommitdiffstats
path: root/src/x11util.h
diff options
context:
space:
mode:
authorSimon Rettberg2017-08-15 19:17:40 +0200
committerSimon Rettberg2017-08-15 19:17:40 +0200
commit726bf58428f937b9ef40684f2a5f38c590ce738b (patch)
treee0fa2edc0df4d2a5433847ecff5ed2242accdccd /src/x11util.h
parentRemove more cruft, show error in red (diff)
downloadslxgreeter-726bf58428f937b9ef40684f2a5f38c590ce738b.tar.gz
slxgreeter-726bf58428f937b9ef40684f2a5f38c590ce738b.tar.xz
slxgreeter-726bf58428f937b9ef40684f2a5f38c590ce738b.zip
Handle multiscreen properly, make background persistent
Diffstat (limited to 'src/x11util.h')
-rw-r--r--src/x11util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/x11util.h b/src/x11util.h
new file mode 100644
index 0000000..81ac0c0
--- /dev/null
+++ b/src/x11util.h
@@ -0,0 +1,9 @@
+#ifndef X11UTIL_H_
+#define X11UTIL_H_
+
+extern "C" {
+ #include <X11/X.h>
+ void AddPixmapToBackground(unsigned const char* imgData, int width, int height, int depth, int bytesPerLine, int byteCount);
+}
+
+#endif /* X11UTIL_H_ */