aboutsummaryrefslogtreecommitdiff
path: root/win.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-01-20 00:06:39 -0800
committerMichael Forney <mforney@mforney.org>2017-01-20 19:42:26 -0800
commite2ee5ee6114eb74bb08cb9abe5a3020203e92688 (patch)
tree7fa47c27df85b1803f8e35860ad6ed2603138acb /win.h
parentc63a87cd936c1eeef14c4c21572e5b782d3df4bc (diff)
downloadst-e2ee5ee6114eb74bb08cb9abe5a3020203e92688.tar.gz
st-e2ee5ee6114eb74bb08cb9abe5a3020203e92688.tar.bz2
st-e2ee5ee6114eb74bb08cb9abe5a3020203e92688.zip
Split X-specific code into x.c
Diffstat (limited to 'win.h')
-rw-r--r--win.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/win.h b/win.h
new file mode 100644
index 0000000..d684797
--- /dev/null
+++ b/win.h
@@ -0,0 +1,29 @@
+/* See LICENSE for license details. */
+
+/* X modifiers */
+#define XK_ANY_MOD UINT_MAX
+#define XK_NO_MOD 0
+#define XK_SWITCH_MOD (1<<13)
+
+typedef XftGlyphFontSpec GlyphFontSpec;
+
+void draw(void);
+void drawregion(int, int, int, int);
+void run(void);
+
+void xbell(int);
+void xclipcopy(void);
+void xclippaste(void);
+void xhints(void);
+void xinit(void);
+void xloadcols(void);
+int xsetcolorname(int, const char *);
+void xloadfonts(char *, double);
+void xsetenv(void);
+void xsettitle(char *);
+void xsetpointermotion(int);
+void xseturgency(int);
+void xunloadfonts(void);
+void xresize(int, int);
+void xselpaste(void);
+unsigned long xwinid(void);