diff options
author | Michael Forney <mforney@mforney.org> | 2017-01-20 00:06:39 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2017-01-20 19:42:26 -0800 |
commit | e2ee5ee6114eb74bb08cb9abe5a3020203e92688 (patch) | |
tree | 7fa47c27df85b1803f8e35860ad6ed2603138acb /win.h | |
parent | c63a87cd936c1eeef14c4c21572e5b782d3df4bc (diff) | |
download | st-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.h | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -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); |