aboutsummarylogtreecommitdiffstats
path: root/x.c
diff options
context:
space:
mode:
authorDevin J. Pohly2017-11-06 18:30:45 -0600
committerDevin J. Pohly2018-02-25 21:53:24 -0600
commit569b693eca63c656ce3d4fcb7b13a2d66fa7db4e (patch)
tree284d18386a45369350713622b059c87e76fbe996 /x.c
parent6f9925872872c35d4266592473d54e44dc214514 (diff)
downloadaur-569b693eca63c656ce3d4fcb7b13a2d66fa7db4e.tar.gz
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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/x.c b/x.c
index a332ac938627..e5b236de5cfb 100644
--- a/x.c
+++ b/x.c
@@ -44,6 +44,11 @@ typedef struct {
signed char crlf; /* crlf mode */
} Key;
+/* X modifiers */
+#define XK_ANY_MOD UINT_MAX
+#define XK_NO_MOD 0
+#define XK_SWITCH_MOD (1<<13)
+
/* function definitions used in config.h */
static void clipcopy(const Arg *);
static void clippaste(const Arg *);