diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2017-11-06 18:30:45 -0600 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:53:24 -0600 |
commit | 8b564c1a3f51c08e64c2f589852a02b8595d44ca (patch) | |
tree | 1f3b59838d9ba37accf56c7c570529921514e495 /x.c | |
parent | 3bb900cd6c1c7a5364bd79bce63fdd8711bc878b (diff) | |
download | st-8b564c1a3f51c08e64c2f589852a02b8595d44ca.tar.gz st-8b564c1a3f51c08e64c2f589852a02b8595d44ca.zip |
Remove X and fontconfig from st.c
None of the X-related includes are needed any longer. In addition, move
the X modifier defines into x.c, as they are not used outside.
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'x.c')
-rw-r--r-- | x.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -44,6 +44,11 @@ typedef struct { | |||
44 | signed char crlf; /* crlf mode */ | 44 | signed char crlf; /* crlf mode */ |
45 | } Key; | 45 | } Key; |
46 | 46 | ||
47 | /* X modifiers */ | ||
48 | #define XK_ANY_MOD UINT_MAX | ||
49 | #define XK_NO_MOD 0 | ||
50 | #define XK_SWITCH_MOD (1<<13) | ||
51 | |||
47 | /* function definitions used in config.h */ | 52 | /* function definitions used in config.h */ |
48 | static void clipcopy(const Arg *); | 53 | static void clipcopy(const Arg *); |
49 | static void clippaste(const Arg *); | 54 | static void clippaste(const Arg *); |