forked from speedie/spmenu
warning cleanup if !USECONFIG
This commit is contained in:
parent
b2e933e1a9
commit
0457a53478
1
build.sh
1
build.sh
|
@ -31,7 +31,6 @@ check() {
|
||||||
|
|
||||||
loadconf() {
|
loadconf() {
|
||||||
[ -x "buildconf" ] && source buildconf
|
[ -x "buildconf" ] && source buildconf
|
||||||
[ -x "buildconf_script" ] && source buildconf_script
|
|
||||||
|
|
||||||
# mandatory deps
|
# mandatory deps
|
||||||
[ "$freetype" = "false" ] && printf "Freetype not found. Install it.\n" && exit 1
|
[ "$freetype" = "false" ] && printf "Freetype not found. Install it.\n" && exit 1
|
||||||
|
|
|
@ -6,6 +6,7 @@ typedef struct {
|
||||||
Arg arg;
|
Arg arg;
|
||||||
} Key;
|
} Key;
|
||||||
|
|
||||||
|
#if USECONFIG
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char *key;
|
char *key;
|
||||||
KeySym keysym;
|
KeySym keysym;
|
||||||
|
@ -509,6 +510,7 @@ static KeyList kl[] = {
|
||||||
{ "Next", XK_Next },
|
{ "Next", XK_Next },
|
||||||
{ "Prior", XK_Prior },
|
{ "Prior", XK_Prior },
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static void updatenumlockmask(void);
|
static void updatenumlockmask(void);
|
||||||
static void keypress(XEvent *e);
|
static void keypress(XEvent *e);
|
||||||
|
|
|
@ -20,6 +20,7 @@ typedef struct {
|
||||||
Arg arg;
|
Arg arg;
|
||||||
} Mouse;
|
} Mouse;
|
||||||
|
|
||||||
|
#if USECONFIG
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char *click;
|
char *click;
|
||||||
unsigned int button;
|
unsigned int button;
|
||||||
|
@ -50,6 +51,7 @@ static ClickType ctp[] = {
|
||||||
{ "clickcaps", clickcaps },
|
{ "clickcaps", clickcaps },
|
||||||
{ "clickmode", clickmode },
|
{ "clickmode", clickmode },
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static Mouse cbuttons[256];
|
static Mouse cbuttons[256];
|
||||||
static void buttonpress(XEvent *e);
|
static void buttonpress(XEvent *e);
|
||||||
|
|
Loading…
Reference in a new issue