1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

- Fixed bug with cursor locked in drag mode after Alt-dragging a window

This commit is contained in:
dan
2003-02-19 23:26:41 +00:00
parent 80c09f1075
commit 40111188ec
2 changed files with 3 additions and 2 deletions

View File

@@ -3145,7 +3145,7 @@ frameMouseDown(WObjDescriptor *desc, XEvent *event)
}
if (event->xbutton.button == Button3 && !WFLAGP(wwin, no_resizable))
wMouseResizeWindow(wwin, event);
else
else if (event->xbutton.button==Button1 || event->xbutton.button==Button2)
wMouseMoveWindow(wwin, event);
XUngrabPointer(dpy, CurrentTime);
}