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 /st.h | |
| parent | Remove unneeded array-length variables (diff) | |
| download | st-416dd257274fd334be082b1138338adffa3e2d5e.tar.gz 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 '')
| -rw-r--r-- | st.h | 23 |
1 files changed, 0 insertions, 23 deletions
| @@ -135,12 +135,6 @@ typedef struct { | |||
| 135 | } TermWindow; | 135 | } TermWindow; |
| 136 | 136 | ||
| 137 | typedef struct { | 137 | typedef struct { |
| 138 | uint b; | ||
| 139 | uint mask; | ||
| 140 | char *s; | ||
| 141 | } MouseShortcut; | ||
| 142 | |||
| 143 | typedef struct { | ||
| 144 | int mode; | 138 | int mode; |
| 145 | int type; | 139 | int type; |
| 146 | int snap; | 140 | int snap; |
| @@ -170,23 +164,6 @@ typedef union { | |||
| 170 | const void *v; | 164 | const void *v; |
| 171 | } Arg; | 165 | } Arg; |
| 172 | 166 | ||
| 173 | typedef struct { | ||
| 174 | uint mod; | ||
| 175 | KeySym keysym; | ||
| 176 | void (*func)(const Arg *); | ||
| 177 | const Arg arg; | ||
| 178 | } Shortcut; | ||
| 179 | |||
| 180 | typedef struct { | ||
| 181 | KeySym k; | ||
| 182 | uint mask; | ||
| 183 | char *s; | ||
| 184 | /* three valued logic variables: 0 indifferent, 1 on, -1 off */ | ||
| 185 | signed char appkey; /* application keypad */ | ||
| 186 | signed char appcursor; /* application cursor */ | ||
| 187 | signed char crlf; /* crlf mode */ | ||
| 188 | } Key; | ||
| 189 | |||
| 190 | void die(const char *, ...); | 167 | void die(const char *, ...); |
| 191 | void redraw(void); | 168 | void redraw(void); |
| 192 | 169 | ||
