1
0
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:
kojima
2000-03-29 03:23:38 +00:00
parent d267d17621
commit 03e14f363f
11 changed files with 458 additions and 40 deletions

View File

@@ -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 */