X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fscreenhack.c;h=baa9178d90120625a11234da6c7cc6b1b139eddb;hp=8ea025d0da6068ba5e3b8795718a14d61c960d27;hb=c494fd2e6b3b25582375d62e40f4f5cc984ca424;hpb=07faf451b99879183ed7e909e43a0e065be1ee7f diff --git a/hacks/screenhack.c b/hacks/screenhack.c index 8ea025d0..baa9178d 100644 --- a/hacks/screenhack.c +++ b/hacks/screenhack.c @@ -684,7 +684,7 @@ init_window (Display *dpy, Widget toplevel, const char *title) window = XtWindow (toplevel); XGetWindowAttributes (dpy, window, &xgwa); XSelectInput (dpy, window, - (xgwa.your_event_mask | KeyPressMask | + (xgwa.your_event_mask | KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask)); XChangeProperty (dpy, window, XA_WM_PROTOCOLS, XA_ATOM, 32, PropModeReplace,