summaryrefslogtreecommitdiff
path: root/Xi
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 /Xi
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 'Xi')
-rw-r--r--Xi/xiquerypointer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Xi/xiquerypointer.c b/Xi/xiquerypointer.c
index 41253fb18..a0c26ba99 100644
--- a/Xi/xiquerypointer.c
+++ b/Xi/xiquerypointer.c
@@ -181,12 +181,12 @@ ProcXIQueryPointer(ClientPtr client)
#ifdef PANORAMIX
if(!noPanoramiXExtension) {
- rep.root_x += FP1616(panoramiXdataPtr[0].x, 0);
- rep.root_y += FP1616(panoramiXdataPtr[0].y, 0);
+ rep.root_x += FP1616(dixScreenOrigins[0].x, 0);
+ rep.root_y += FP1616(dixScreenOrigins[0].y, 0);
if (stuff->win == rep.root)
{
- rep.win_x += FP1616(panoramiXdataPtr[0].x, 0);
- rep.win_y += FP1616(panoramiXdataPtr[0].y, 0);
+ rep.win_x += FP1616(dixScreenOrigins[0].x, 0);
+ rep.win_y += FP1616(dixScreenOrigins[0].y, 0);
}
}
#endif