mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
fixed many bugs related from stacking and old ones too
This commit is contained in:
@@ -1687,6 +1687,7 @@ wMouseMoveWindow(WWindow *wwin, XEvent *ev)
|
||||
break;
|
||||
|
||||
if (started) {
|
||||
XEvent e;
|
||||
if (!opaqueMove) {
|
||||
drawFrames(wwin, scr->selected_windows,
|
||||
moveData.realX - wwin->frame_x,
|
||||
@@ -1707,6 +1708,22 @@ wMouseMoveWindow(WWindow *wwin, XEvent *ev)
|
||||
}
|
||||
if (wPreferences.move_display == WDIS_NEW)
|
||||
showPosition(wwin, moveData.realX, moveData.realY);
|
||||
|
||||
/* discard all enter/leave events that happened until
|
||||
* the time the button was released */
|
||||
/*
|
||||
while (XCheckTypedEvent(dpy, EnterNotify, &e)) {
|
||||
if (e.xcrossing.time > event.xbutton.time) {
|
||||
XPutBackEvent(dpy, &e);
|
||||
break;
|
||||
}
|
||||
}
|
||||
while (!XCheckTypedEvent(dpy, LeaveNotify, &e)) {
|
||||
if (e.xcrossing.time > event.xbutton.time) {
|
||||
XPutBackEvent(dpy, &e);
|
||||
break;
|
||||
}
|
||||
}*/
|
||||
|
||||
if (!scr->selected_windows) {
|
||||
/* get rid of the geometry window */
|
||||
|
||||
Reference in New Issue
Block a user