nsxiv13eb5ac
window.c: include ButtonPress events in Input
+1 −1
1 file changed
- M window.c +1 −1
| @@ -64,7 +64,7 @@ void win_open(win_t *win) { | |||
| 64 | 64 | DIE("could not create window"); | |
| 65 | 65 | ||
| 66 | 66 | XSelectInput(e->dpy, win->xwin, | |
| 67 | − | StructureNotifyMask | KeyPressMask); | |
| 67 | + | StructureNotifyMask | KeyPressMask | ButtonPressMask); | |
| 68 | 68 | ||
| 69 | 69 | gcval.foreground = bgcol.pixel; | |
| 70 | 70 | win->bgc = XCreateGC(e->dpy, win->xwin, GCForeground, &gcval); | |