rem: if (XGrabPointer(dpy, wwin->frame->resizebar->window, False,
add: if (XGrabPointer(dpy, wwin->frame->resizebar->window, True,
context: resizebarMouseDown(WCoreWindow *sender, void *data, XEvent *event){    WWindow *wwin = data;#ifndef NUMLOCK_HACK    if ((event->xbutton.state & ValidModMask)	!= (event->xbutton.state & ~LockMask)) {	wwarning(_("the NumLock, ScrollLock or similar key seems to be turned on.\n"\		"Turn it off or some mouse actions and keyboard shortcuts will not work."));    }#endif        event->xbutton.state &= ValidModMask;        CloseWindowMenu(wwin->screen_ptr);    if (wPreferences.focus_mode==WKF_CLICK 	&& !(event->xbutton.state&ControlMask)) {	wSetFocusTo(wwin->screen_ptr, wwin);    }    if (event->xbutton.button == Button1)	wRaiseFrame(wwin->frame->core);    if (event->xbutton.state & MOD_MASK) {	/* move the window */	if (XGrabPointer(dpy, wwin->frame->resizebar->window, True,			 ButtonMotionMask|ButtonReleaseMask|ButtonPressMask,			 GrabModeAsync, GrabModeAsync, None, 			 None, CurrentTime)!=GrabSuccess) {#ifdef DEBUG0	    wwarning("pointer grab failed for window move");#endif	    return;	}	wMouseMoveWindow(wwin, event);	XUngrabPointer(dpy, CurrentTime);    } else {        /* resize the window */        if (XGrabPointer(dpy, wwin->frame->resizebar->window, False,                         ButtonMotionMask|ButtonReleaseMask|ButtonPressMask,                         GrabModeAsync, GrabModeAsync, None,                         None, CurrentTime)!=GrabSuccess) {#ifdef DEBUG0            wwarning("pointer grab failed for window resize");#endif            return;        }        wMouseResizeWindow(wwin, event);        XUngrabPointer(dpy, CurrentTime);    }}