aboutsummaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-01-26 17:48:11 +0100
committerBert <ber.t@gmx.com>2011-01-26 17:48:11 +0100
commit0497a7f69d356f9008e0c89f390e6c72a9dbfbcc (patch)
treed7c11a3be026ed19a7092b8f41d58f9b1f99542a /window.c
parenta43d51d2bcd3e8964bf6ab51264b2a7f15ccb609 (diff)
parent9a35f40224a08bfcc27b4ba79301e22a58cf4495 (diff)
Merge remote branch 'falconindy/mouse'
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index 516f862..e1b8ee7 100644
--- a/window.c
+++ b/window.c
@@ -69,7 +69,7 @@ void win_open(win_t *win) {
DIE("could not create window");
XSelectInput(e->dpy, win->xwin,
- StructureNotifyMask | KeyPressMask);
+ StructureNotifyMask | KeyPressMask | ButtonPressMask);
bgc = XCreateGC(e->dpy, win->xwin, 0, None);