merge KBFLAG_NEEDCLIENT and MOUSEBIND_CTX_*; brings kbfunc and mousefunc

bits even closer.
This commit is contained in:
okan
2014-01-20 23:03:51 +00:00
parent 34f43e3f2d
commit c7adadaf9d
3 changed files with 58 additions and 74 deletions

View File

@@ -83,6 +83,8 @@
#define CWM_GAP 0x0001
#define CWM_NOGAP 0x0002
#define CWM_WIN 0x0001
union arg {
char *c;
int i;
@@ -247,7 +249,6 @@ struct keybinding {
union arg argument;
unsigned int modmask;
KeySym keysym;
#define KBFLAG_NEEDCLIENT 0x0001
int flags;
int argtype;
};
@@ -259,8 +260,6 @@ struct mousebinding {
union arg argument;
unsigned int modmask;
unsigned int button;
#define MOUSEBIND_CTX_ROOT 0x0001
#define MOUSEBIND_CTX_WIN 0x0002
int flags;
};
TAILQ_HEAD(mousebinding_q, mousebinding);