mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
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)
This commit is contained in:
parent
e7fae9ecc4
commit
217ccaa5a3
15 changed files with 204 additions and 228 deletions
|
|
@ -1497,9 +1497,7 @@ PanoramiX prefix.
|
|||
<para>The Xinerama extension is registered by calling AddExtension().
|
||||
</para>
|
||||
|
||||
<para>A local per-screen array of data structures
|
||||
(panoramiXdataPtr[])
|
||||
is allocated for each physical screen, and GC and Screen private
|
||||
<para>GC and Screen private
|
||||
indexes are allocated, and both GC and Screen private areas are
|
||||
allocated for each physical screen. These hold Xinerama-specific
|
||||
per-GC and per-Screen data. Each screen's CreateGC and CloseScreen
|
||||
|
|
@ -1511,9 +1509,8 @@ PanoramiX prefix.
|
|||
|
||||
<para>A region (XineramaScreenRegions[i]) is initialized for each
|
||||
physical screen, and single region (PanoramiXScreenRegion) is
|
||||
initialized to be the union of the screen regions. The
|
||||
panoramiXdataPtr[] array is also initialized with the size and
|
||||
origin of each screen. The relative positioning information for the
|
||||
initialized to be the union of the screen regions.
|
||||
The relative positioning information for the
|
||||
physical screens is taken from the array
|
||||
dixScreenOrigins[], which
|
||||
the DDX layer must initialize in InitOutput(). The bounds of the
|
||||
|
|
|
|||
Loading…
Reference in a new issue