Adding combo patch

This commit is contained in:
bakkeby
2019-09-11 23:35:43 +02:00
parent e89f262323
commit 706e06be43
8 changed files with 71 additions and 1 deletions

6
dwm.c
View File

@ -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,