diff options
Diffstat (limited to 'record')
-rw-r--r-- | record/record.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/record/record.c b/record/record.c index 3724dc7a9..b81b7b2fa 100644 --- a/record/record.c +++ b/record/record.c @@ -755,11 +755,11 @@ RecordSendProtocolEvents(RecordClientsAndProtocolPtr pRCAP, int scr = XineramaGetCursorScreen(inputInfo.pointer); memcpy(&shiftedEvent, pev, sizeof(xEvent)); shiftedEvent.u.keyButtonPointer.rootX += - panoramiXdataPtr[scr].x - - panoramiXdataPtr[0].x; + dixScreenOrigins[scr].x - + dixScreenOrigins[0].x; shiftedEvent.u.keyButtonPointer.rootY += - panoramiXdataPtr[scr].y - - panoramiXdataPtr[0].y; + dixScreenOrigins[scr].y - + dixScreenOrigins[0].y; pEvToRecord = &shiftedEvent; } #endif /* PANORAMIX */ |