rem: XGrabButton(dpy, AnyButton, MOD_MASK, wwin->client_win, True, ButtonPressMask, GrabModeSync, GrabModeAsync, None, wCursor[WCUR_ARROW]); XGrabButton(dpy, AnyButton, MOD_MASK|LockMask, wwin->client_win, True, ButtonPressMask, GrabModeSync, GrabModeAsync, None, wCursor[WCUR_ARROW]); #ifdef NUMLOCK_HACK
context: wWindowResetMouseGrabs(WWindow *wwin){    XUngrabButton(dpy, AnyButton, AnyModifier, wwin->client_win);    if (!wwin->window_flags.no_bind_mouse) {	/* grabs for Meta+drag */	XGrabButton(dpy, AnyButton, MOD_MASK,		    wwin->client_win, True, ButtonPressMask, GrabModeSync,		    GrabModeAsync, None, wCursor[WCUR_ARROW]);	XGrabButton(dpy, AnyButton, MOD_MASK|LockMask,		    wwin->client_win, True, ButtonPressMask, GrabModeSync,		    GrabModeAsync, None, wCursor[WCUR_ARROW]);#ifdef NUMLOCK_HACK	wHackedGrabButton(AnyButton, MOD_MASK, wwin->client_win, 			  True, ButtonPressMask, GrabModeSync, 			  GrabModeAsync, None, wCursor[WCUR_ARROW]);#endif    }        if (!wwin->flags.focused) {	/* the passive grabs to focus the window */	if (wPreferences.focus_mode == WKF_CLICK)	    XGrabButton(dpy, AnyButton, AnyModifier, wwin->client_win,			True, ButtonPressMask, GrabModeSync, GrabModeAsync,			None, None);    }    XFlush(dpy);}