hw/xwin: Ignore the obsolete, undocumented -internalwm option

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
Jon Turney 2015-11-02 19:37:40 +00:00
parent cdeaebad98
commit 98238ece57
3 changed files with 2 additions and 12 deletions

View File

@ -745,10 +745,6 @@ winUseMsg(void)
ErrorF("-ignoreinput\n" "\tIgnore keyboard and mouse input.\n"); ErrorF("-ignoreinput\n" "\tIgnore keyboard and mouse input.\n");
#ifdef XWIN_MULTIWINDOWEXTWM
ErrorF("-internalwm\n" "\tRun the internal window manager.\n");
#endif
#ifdef XWIN_XF86CONFIG #ifdef XWIN_XF86CONFIG
ErrorF("-keyboard\n" ErrorF("-keyboard\n"
"\tSpecify a keyboard device from the configuration file.\n"); "\tSpecify a keyboard device from the configuration file.\n");

View File

@ -346,9 +346,6 @@ Color map manipulation is not supported, so the PseudoColor visual will
not have the correct colors. not have the correct colors.
This option is intended to allow applications which only work with a depth 8 This option is intended to allow applications which only work with a depth 8
visual to operate in TrueColor modes. visual to operate in TrueColor modes.
.TP 8
.B \-internalwm
Run the internal window manager.
.SH LOG FILE .SH LOG FILE
As it runs \fIXWin\fP writes messages indicating the most relevant events As it runs \fIXWin\fP writes messages indicating the most relevant events

View File

@ -577,11 +577,8 @@ ddxProcessArgument(int argc, char *argv[], int i)
* Look for the '-internalwm' argument * Look for the '-internalwm' argument
*/ */
if (IS_OPTION("-internalwm")) { if (IS_OPTION("-internalwm")) {
if (!screenInfoPtr->fMultiMonitorOverride) ErrorF("Ignoring obsolete -internalwm option\n");
screenInfoPtr->fMultipleMonitors = TRUE; /* Ignored, but we still accept the arg for backwards compatibility */
screenInfoPtr->fMWExtWM = TRUE;
screenInfoPtr->fInternalWM = TRUE;
/* Indicate that we have processed this argument */ /* Indicate that we have processed this argument */
return 1; return 1;
} }