Adding combo patch
This commit is contained in:
6
dwm.c
6
dwm.c
@ -326,6 +326,9 @@ static int (*xerrorxlib)(Display *, XErrorEvent *);
|
||||
static unsigned int numlockmask = 0;
|
||||
static void (*handler[LASTEvent]) (XEvent *) = {
|
||||
[ButtonPress] = buttonpress,
|
||||
#if COMBO_PATCH
|
||||
[ButtonRelease] = keyrelease,
|
||||
#endif // COMBO_PATCH
|
||||
[ClientMessage] = clientmessage,
|
||||
[ConfigureRequest] = configurerequest,
|
||||
[ConfigureNotify] = configurenotify,
|
||||
@ -334,6 +337,9 @@ static void (*handler[LASTEvent]) (XEvent *) = {
|
||||
[Expose] = expose,
|
||||
[FocusIn] = focusin,
|
||||
[KeyPress] = keypress,
|
||||
#if COMBO_PATCH
|
||||
[KeyRelease] = keyrelease,
|
||||
#endif // COMBO_PATCH
|
||||
[MappingNotify] = mappingnotify,
|
||||
[MapRequest] = maprequest,
|
||||
[MotionNotify] = motionnotify,
|
||||
|
Reference in New Issue
Block a user