summaryrefslogtreecommitdiff
path: root/record
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-05-23 11:05:01 -0700
committerJamey Sharp <jamey@minilop.net>2010-06-03 14:03:23 -0700
commit217ccaa5a341018457f468a774c035c0df47d918 (patch)
tree667fcf3549fc14234feab415d060c4ac94f96572 /record
parente7fae9ecc42ab5e73b89117722dbf4117d928f9a (diff)
Delete panoramiXdataPtr: it's redundant.
This eliminates a dynamically-allocated MAXSCREENS-sized array. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com> Tested-by: Tiago Vignatti <tiago.vignatti@nokia.com> (i686 GNU/Linux)
Diffstat (limited to 'record')
-rw-r--r--record/record.c8
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 */