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/win.h | |
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/win.h')
-rw-r--r-- | hw/xwin/win.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/xwin/win.h b/hw/xwin/win.h index b1acd3e47..072c69121 100644 --- a/hw/xwin/win.h +++ b/hw/xwin/win.h @@ -1451,6 +1451,12 @@ Bool winInitCursor (ScreenPtr pScreen); /* + * winprocarg.c + */ +void +winInitializeScreens(int maxscreens); + +/* * END DDX and DIX Function Prototypes */ |