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>
This commit is contained in:
Devin J. Pohly
2017-11-06 18:30:45 -06:00
parent 3bb900cd6c
commit 8b564c1a3f
3 changed files with 5 additions and 10 deletions

5
st.c
View File

@ -21,13 +21,8 @@
#include <time.h>
#include <unistd.h>
#include <libgen.h>
#include <fontconfig/fontconfig.h>
#include <wchar.h>
/* X11 */
#include <X11/cursorfont.h>
#include <X11/Xft/Xft.h>
#include "st.h"
#include "win.h"