aboutsummaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
Diffstat (limited to 'x.c')
-rw-r--r--x.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/x.c b/x.c
index 03555d1..24f6991 100644
--- a/x.c
+++ b/x.c
@@ -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 */
24typedef struct {
25 uint mod;
26 KeySym keysym;
27 void (*func)(const Arg *);
28 const Arg arg;
29} Shortcut;
30
31typedef struct {
32 uint b;
33 uint mask;
34 char *s;
35} MouseShortcut;
36
37typedef 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 */
24static void clipcopy(const Arg *); 48static void clipcopy(const Arg *);
25static void clippaste(const Arg *); 49static void clippaste(const Arg *);