diff options
author | Dave Reisner <d@falconindy.com> | 2011-01-22 22:03:49 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-01-23 09:46:25 -0500 |
commit | 13eb5ac929eb99955b4c58192b0aed467db1a4a2 (patch) | |
tree | ed2a95c5bc9de82c7d7a549fce591fe4fc7e200f /window.c | |
parent | 8183b5a20278169007f0c67e58a28ab3d3e2c72a (diff) |
window.c: include ButtonPress events in Input
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |