diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2017-10-17 16:46:26 -0500 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:53:24 -0600 |
commit | 416dd257274fd334be082b1138338adffa3e2d5e (patch) | |
tree | d9bd7a58987adff6977cc6e53e003fa28295c382 /x.c | |
parent | 75c9a0ee1d232a1a177746d97a13cf92b03da44a (diff) | |
download | st-416dd257274fd334be082b1138338adffa3e2d5e.tar.gz st-416dd257274fd334be082b1138338adffa3e2d5e.tar.bz2 st-416dd257274fd334be082b1138338adffa3e2d5e.zip |
Move X-related config.h types into x.c
No need to expose Shortcut, MouseShortcut, and Key anymore.
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'x.c')
-rw-r--r-- | x.c | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -20,6 +20,30 @@ static char *argv0; #include "st.h" #include "win.h" +/* types used in config.h */ +typedef struct { + uint mod; + KeySym keysym; + void (*func)(const Arg *); + const Arg arg; +} Shortcut; + +typedef struct { + uint b; + uint mask; + char *s; +} MouseShortcut; + +typedef struct { + KeySym k; + uint mask; + char *s; + /* three valued logic variables: 0 indifferent, 1 on, -1 off */ + signed char appkey; /* application keypad */ + signed char appcursor; /* application cursor */ + signed char crlf; /* crlf mode */ +} Key; + /* function definitions used in config.h */ static void clipcopy(const Arg *); static void clippaste(const Arg *); |