mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
added configurable cursor path
added some GNUstep support code
This commit is contained in:
@@ -1566,6 +1566,7 @@ wMouseMoveWindow(WWindow *wwin, XEvent *ev)
|
||||
(unsigned *) &junk);
|
||||
} else {
|
||||
WMMaskEvent(dpy, KeyPressMask | ButtonMotionMask
|
||||
| PointerMotionHintMask
|
||||
| ButtonReleaseMask | ButtonPressMask | ExposureMask,
|
||||
&event);
|
||||
|
||||
@@ -1856,7 +1857,8 @@ wMouseResizeWindow(WWindow *wwin, XEvent *ev)
|
||||
else
|
||||
h = 0;
|
||||
while (1) {
|
||||
WMMaskEvent(dpy, KeyPressMask | ButtonMotionMask | ButtonReleaseMask
|
||||
WMMaskEvent(dpy, KeyPressMask | ButtonMotionMask
|
||||
| ButtonReleaseMask | PointerMotionHintMask
|
||||
| ButtonPressMask | ExposureMask, &event);
|
||||
if (!checkMouseSamplingRate(&event))
|
||||
continue;
|
||||
@@ -1875,6 +1877,8 @@ wMouseResizeWindow(WWindow *wwin, XEvent *ev)
|
||||
|
||||
case MotionNotify:
|
||||
if (started) {
|
||||
while (XCheckMaskEvent(dpy, ButtonMotionMask, &event)) ;
|
||||
|
||||
dw = 0;
|
||||
dh = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user