Fix 332 xterm jump strangly during moving. This is dev-0-7-0-9.

This commit is contained in:
Deron Johnson 2005-06-07 01:25:44 +00:00
parent 8bf34149e0
commit dd4b1ae0db

View file

@ -2097,8 +2097,8 @@ lgeFixUpEventFromWindow(
if (IsWinLgePRWOne(XE_KBPTR.event)) {
WindowPtr pOldWin = (WindowPtr) LookupIDByType(eventWindowOld, RT_WINDOW);
if (pOldWin != NULL) {
XE_KBPTR.eventX += pOldWin->drawable.x;
XE_KBPTR.eventY += pOldWin->drawable.y;
XE_KBPTR.eventX = XE_KBPTR.rootX;
XE_KBPTR.eventY = XE_KBPTR.rootY;
/* Skip the fixup below */
eventWindowOld = XE_KBPTR.event;
}