diff options
| author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-04-16 18:13:50 +0100 |
|---|---|---|
| committer | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-04-23 15:59:49 +0300 |
| commit | a7d398e545a4be5491248d5ccb303aa03ee1594f (patch) | |
| tree | affd1e09c3e22c57195e1e1923a546113a2a83f2 /hw/xwin/win.h | |
| parent | d8454ae488cfc073cd6010c9a08d53855a0c2612 (diff) | |
Xwin: make screens structures run-time adjustable
Change g_ScreenInfo, an array of winScreenInfo elements, from a
static array of MAXSCREENS elements, to a dynamically allocated one
Fix up the validation that -screen option screen numbers are
contiguous from zero (which possibly didn't work correctly before
anyhow)
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/win.h b/hw/xwin/win.h index 072c69121..5abaa031c 100644 --- a/hw/xwin/win.h +++ b/hw/xwin/win.h @@ -622,7 +622,7 @@ typedef struct { * Extern declares for general global variables */ -extern winScreenInfo g_ScreenInfo[]; +extern winScreenInfo * g_ScreenInfo; extern miPointerScreenFuncRec g_winPointerCursorFuncs; extern DWORD g_dwEvents; #ifdef HAS_DEVWINDOWS |
