Krolyxon
Commit 13eb5ac

Branches

Refs →

nsxiv13eb5ac

window.c: include ButtonPress events in Input

Author
Dave Reisner
Date
2011-01-22 22:03 -0500
Committer
Dave Reisner · 2011-01-23 09:46 -0500
Parent
8183b5a
Commit
13eb5ac929eb99955b4c58192b0aed467db1a4a2

+1 −1

1 file changed

  1. M window.c +1 −1
M window.c View
@@ -64,7 +64,7 @@ void win_open(win_t *win) {
6464 DIE("could not create window");
6565
6666 XSelectInput(e->dpy, win->xwin,
67− StructureNotifyMask | KeyPressMask);
67+ StructureNotifyMask | KeyPressMask | ButtonPressMask);
6868
6969 gcval.foreground = bgcol.pixel;
7070 win->bgc = XCreateGC(e->dpy, win->xwin, GCForeground, &gcval);