diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-23 11:05:01 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-06-03 14:03:23 -0700 |
commit | 217ccaa5a341018457f468a774c035c0df47d918 (patch) | |
tree | 667fcf3549fc14234feab415d060c4ac94f96572 /mi/miexpose.c | |
parent | e7fae9ecc42ab5e73b89117722dbf4117d928f9a (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 'mi/miexpose.c')
-rw-r--r-- | mi/miexpose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/miexpose.c b/mi/miexpose.c index 9249ca9f9..ee3ef724a 100644 --- a/mi/miexpose.c +++ b/mi/miexpose.c @@ -424,8 +424,8 @@ miSendExposures( WindowPtr pWin, RegionPtr pRgn, int dx, int dy) XID realWin = 0; if(!pWin->parent) { - x = panoramiXdataPtr[scrnum].x; - y = panoramiXdataPtr[scrnum].y; + x = dixScreenOrigins[scrnum].x; + y = dixScreenOrigins[scrnum].y; pWin = screenInfo.screens[0]->root; realWin = pWin->drawable.id; } else if (scrnum) { |