summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-06-07 01:25:44 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-06-07 01:25:44 +0000
commitdd4b1ae0dbc36f158e7c687731fa7007fa7a06d2 (patch)
tree96fdf74fb3b257b2ce910960f4eb32dbb408ab0c
parent8bf34149e012681215e56a2e601852e9ad3e2608 (diff)
Fix 332 xterm jump strangly during moving. This is dev-0-7-0-9.
-rw-r--r--dix/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/events.c b/dix/events.c
index 4f7b3cb62..654228439 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -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;
}