diff options
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; | |||
| 20 | #include "st.h" | 20 | #include "st.h" |
| 21 | #include "win.h" | 21 | #include "win.h" |
| 22 | 22 | ||
| 23 | /* types used in config.h */ | ||
| 24 | typedef struct { | ||
| 25 | uint mod; | ||
| 26 | KeySym keysym; | ||
| 27 | void (*func)(const Arg *); | ||
| 28 | const Arg arg; | ||
| 29 | } Shortcut; | ||
| 30 | |||
| 31 | typedef struct { | ||
| 32 | uint b; | ||
| 33 | uint mask; | ||
| 34 | char *s; | ||
| 35 | } MouseShortcut; | ||
| 36 | |||
| 37 | typedef struct { | ||
| 38 | KeySym k; | ||
| 39 | uint mask; | ||
| 40 | char *s; | ||
| 41 | /* three valued logic variables: 0 indifferent, 1 on, -1 off */ | ||
| 42 | signed char appkey; /* application keypad */ | ||
| 43 | signed char appcursor; /* application cursor */ | ||
| 44 | signed char crlf; /* crlf mode */ | ||
| 45 | } Key; | ||
| 46 | |||
| 23 | /* function definitions used in config.h */ | 47 | /* function definitions used in config.h */ |
| 24 | static void clipcopy(const Arg *); | 48 | static void clipcopy(const Arg *); |
| 25 | static void clippaste(const Arg *); | 49 | static void clippaste(const Arg *); |
