aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index 752f045..0c6c53a 100644
--- a/window.c
+++ b/window.c
@@ -64,7 +64,7 @@ void win_open(win_t *win) {
DIE("could not create window");
XSelectInput(e->dpy, win->xwin,
- StructureNotifyMask | KeyPressMask);
+ StructureNotifyMask | KeyPressMask | ButtonPressMask);
gcval.foreground = bgcol.pixel;
win->bgc = XCreateGC(e->dpy, win->xwin, GCForeground, &gcval);