diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-13 23:35:02 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-13 23:35:02 -0400 |
commit | c15c91646509939c028d13a2c0454aa4f843a04e (patch) | |
tree | 81c155668de4dd28223d9816b919cda2967158da | |
parent | 8ef6923fc18fe9ac1656ec92293bcd3e2357886e (diff) | |
download | runes-c15c91646509939c028d13a2c0454aa4f843a04e.tar.gz runes-c15c91646509939c028d13a2c0454aa4f843a04e.zip |
also capture pointer events
-rw-r--r-- | window-xlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/window-xlib.c b/window-xlib.c index 2d3fb87..530a245 100644 --- a/window-xlib.c +++ b/window-xlib.c @@ -119,7 +119,7 @@ void runes_window_backend_loop_init(RunesTerm *t, int argc, char *argv[]) XGetICValues(w->ic, XNFilterEvents, &mask, NULL); XSelectInput( w->dpy, w->w, - mask|KeyPressMask|StructureNotifyMask|ExposureMask|FocusChangeMask); + mask|KeyPressMask|ButtonPressMask|ButtonReleaseMask|ButtonMotionMask|PointerMotionHintMask|StructureNotifyMask|ExposureMask|FocusChangeMask); XSetICFocus(w->ic); data = malloc(sizeof(RunesXlibLoopData)); |