Move config.h include from st.c to x.c
config.h includes references to KeySyms and other X stuff. Until we come up with a cleaner way to separate configuration, it is simpler (leads to more code removal) to have this here. Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
This commit is contained in:
50
st.h
50
st.h
@ -190,6 +190,13 @@ typedef struct {
|
||||
void die(const char *, ...);
|
||||
void redraw(void);
|
||||
|
||||
void iso14755(const Arg *);
|
||||
void numlock(const Arg *);
|
||||
void printscreen(const Arg *);
|
||||
void printsel(const Arg *);
|
||||
void sendbreak(const Arg *);
|
||||
void toggleprinter(const Arg *);
|
||||
|
||||
int tattrset(int);
|
||||
void tnew(int, int);
|
||||
void tresize(int, int);
|
||||
@ -225,42 +232,13 @@ extern pid_t pid;
|
||||
extern int oldbutton;
|
||||
|
||||
/* config.h globals */
|
||||
extern char font[];
|
||||
extern int borderpx;
|
||||
extern float cwscale;
|
||||
extern float chscale;
|
||||
extern unsigned int doubleclicktimeout;
|
||||
extern unsigned int tripleclicktimeout;
|
||||
extern char *shell;
|
||||
extern char *utmp;
|
||||
extern char *stty_args;
|
||||
extern char *vtiden;
|
||||
extern char *worddelimiters;
|
||||
extern int allowaltscreen;
|
||||
extern unsigned int xfps;
|
||||
extern unsigned int actionfps;
|
||||
extern unsigned int cursorthickness;
|
||||
extern int bellvolume;
|
||||
extern unsigned int blinktimeout;
|
||||
extern char termname[];
|
||||
extern const char *colorname[];
|
||||
extern size_t colornamelen;
|
||||
extern char *termname;
|
||||
extern unsigned int tabspaces;
|
||||
extern unsigned int defaultfg;
|
||||
extern unsigned int defaultbg;
|
||||
extern unsigned int defaultcs;
|
||||
extern unsigned int defaultrcs;
|
||||
extern unsigned int cursorshape;
|
||||
extern unsigned int cols;
|
||||
extern unsigned int rows;
|
||||
extern unsigned int mouseshape;
|
||||
extern unsigned int mousefg;
|
||||
extern unsigned int mousebg;
|
||||
extern unsigned int defaultattr;
|
||||
extern MouseShortcut mshortcuts[];
|
||||
extern size_t mshortcutslen;
|
||||
extern Shortcut shortcuts[];
|
||||
extern size_t shortcutslen;
|
||||
extern KeySym mappedkeys[];
|
||||
extern size_t mappedkeyslen;
|
||||
extern uint ignoremod;
|
||||
extern uint forceselmod;
|
||||
extern Key key[];
|
||||
extern size_t keyslen;
|
||||
extern uint selmasks[];
|
||||
extern size_t selmaskslen;
|
||||
extern char ascii_printable[];
|
||||
|
Reference in New Issue
Block a user