diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-04-12 20:18:13 +0100 |
---|---|---|
committer | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-04-23 15:55:17 +0300 |
commit | d8454ae488cfc073cd6010c9a08d53855a0c2612 (patch) | |
tree | 163e5a8907a05f39bf54543b7330e9f90ea3c61c /hw/xwin/winglobals.c | |
parent | b61870595ba4df06006d24ed8c07cfe781bce1b7 (diff) |
Xwin: Simplify screen option processing
Use an instance of the XWin DDX-specific screen info structure to hold
the current default values, to simplify greatly the code for applying
options to all screens and remove all those loops over MAXSCREENS screens
in the command line option processing
Use g_iNumScreens for tracking the current initialized screen count
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Diffstat (limited to 'hw/xwin/winglobals.c')
-rw-r--r-- | hw/xwin/winglobals.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xwin/winglobals.c b/hw/xwin/winglobals.c index 926ce69b8..da7815560 100644 --- a/hw/xwin/winglobals.c +++ b/hw/xwin/winglobals.c @@ -42,7 +42,6 @@ int g_iNumScreens = 0; winScreenInfo g_ScreenInfo[MAXSCREENS]; -int g_iLastScreen = -1; #ifdef HAS_DEVWINDOWS int g_fdMessageQueue = WIN_FD_INVALID; #endif @@ -57,7 +56,6 @@ DevPrivateKey g_iPixmapPrivateKey = &g_iPixmapPrivateKeyIndex; static int g_iWindowPrivateKeyIndex; DevPrivateKey g_iWindowPrivateKey = &g_iWindowPrivateKeyIndex; unsigned long g_ulServerGeneration = 0; -Bool g_fInitializedDefaultScreens = FALSE; DWORD g_dwEnginesSupported = 0; HINSTANCE g_hInstance = 0; HWND g_hDlgDepthChange = NULL; |