screen: _Screen reduced size from 1328 to 1312 bytes
- saved 16 bytes using align structures Signed-off-by: Herman Semenov <GermanAizek@yandex.ru>
This commit is contained in:
parent
fea8b78358
commit
621956f5fd
|
@ -514,12 +514,13 @@ typedef struct _Screen {
|
||||||
short x, y, width, height;
|
short x, y, width, height;
|
||||||
short mmWidth, mmHeight;
|
short mmWidth, mmHeight;
|
||||||
short numDepths;
|
short numDepths;
|
||||||
unsigned char rootDepth;
|
short numVisuals;
|
||||||
DepthPtr allowedDepths;
|
DepthPtr allowedDepths;
|
||||||
unsigned long rootVisual;
|
unsigned long rootVisual;
|
||||||
unsigned long defColormap;
|
unsigned long defColormap;
|
||||||
short minInstalledCmaps, maxInstalledCmaps;
|
unsigned char rootDepth;
|
||||||
char backingStoreSupport, saveUnderSupport;
|
char backingStoreSupport, saveUnderSupport;
|
||||||
|
short minInstalledCmaps, maxInstalledCmaps;
|
||||||
unsigned long whitePixel, blackPixel;
|
unsigned long whitePixel, blackPixel;
|
||||||
GCPtr GCperDepth[MAXFORMATS + 1];
|
GCPtr GCperDepth[MAXFORMATS + 1];
|
||||||
/* next field is a stipple to use as default in a GC. we don't build
|
/* next field is a stipple to use as default in a GC. we don't build
|
||||||
|
@ -529,7 +530,6 @@ typedef struct _Screen {
|
||||||
*/
|
*/
|
||||||
PixmapPtr defaultStipple;
|
PixmapPtr defaultStipple;
|
||||||
void *devPrivate;
|
void *devPrivate;
|
||||||
short numVisuals;
|
|
||||||
VisualPtr visuals;
|
VisualPtr visuals;
|
||||||
WindowPtr root;
|
WindowPtr root;
|
||||||
ScreenSaverStuffRec screensaver;
|
ScreenSaverStuffRec screensaver;
|
||||||
|
@ -621,6 +621,7 @@ typedef struct _Screen {
|
||||||
NameWindowPixmapProcPtr NameWindowPixmap;
|
NameWindowPixmapProcPtr NameWindowPixmap;
|
||||||
|
|
||||||
unsigned int totalPixmapSize;
|
unsigned int totalPixmapSize;
|
||||||
|
int output_secondarys;
|
||||||
|
|
||||||
MarkWindowProcPtr MarkWindow;
|
MarkWindowProcPtr MarkWindow;
|
||||||
MarkOverlappedWindowsProcPtr MarkOverlappedWindows;
|
MarkOverlappedWindowsProcPtr MarkOverlappedWindows;
|
||||||
|
@ -651,7 +652,6 @@ typedef struct _Screen {
|
||||||
/* Info on this screen's secondarys (if any) */
|
/* Info on this screen's secondarys (if any) */
|
||||||
struct xorg_list secondary_list;
|
struct xorg_list secondary_list;
|
||||||
struct xorg_list secondary_head;
|
struct xorg_list secondary_head;
|
||||||
int output_secondarys;
|
|
||||||
/* Info for when this screen is a secondary */
|
/* Info for when this screen is a secondary */
|
||||||
ScreenPtr current_primary;
|
ScreenPtr current_primary;
|
||||||
Bool is_output_secondary;
|
Bool is_output_secondary;
|
||||||
|
|
Loading…
Reference in New Issue