[config] Add support for mouse button 8 and 9
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
1b495c698c
commit
3b6cddbef2
8
config.c
8
config.c
|
@ -40,6 +40,12 @@
|
||||||
#ifndef Button7
|
#ifndef Button7
|
||||||
#define Button7 7
|
#define Button7 7
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef Button8
|
||||||
|
#define Button8 8
|
||||||
|
#endif
|
||||||
|
#ifndef Button9
|
||||||
|
#define Button9 9
|
||||||
|
#endif
|
||||||
|
|
||||||
extern AwesomeConf globalconf;
|
extern AwesomeConf globalconf;
|
||||||
extern cfg_opt_t awesome_opts[];
|
extern cfg_opt_t awesome_opts[];
|
||||||
|
@ -110,6 +116,8 @@ mouse_button_lookup(const char *button)
|
||||||
{"5", Button5},
|
{"5", Button5},
|
||||||
{"6", Button6},
|
{"6", Button6},
|
||||||
{"7", Button7},
|
{"7", Button7},
|
||||||
|
{"8", Button8},
|
||||||
|
{"9", Button9},
|
||||||
{NULL, 0}
|
{NULL, 0}
|
||||||
};
|
};
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in New Issue