hw/xwin: Turn on -hostintitle by default
Turn on -hostintitle by default Provide -nohostintitle to disable if needed Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
b2aaf69e62
commit
3aad9b7556
|
@ -739,7 +739,7 @@ winUseMsg(void)
|
|||
|
||||
ErrorF("-fullscreen\n" "\tRun the server in fullscreen mode.\n");
|
||||
|
||||
ErrorF("-hostintitle\n"
|
||||
ErrorF("-[no]hostintitle\n"
|
||||
"\tIn multiwindow mode, add remote host names to window titles.\n");
|
||||
|
||||
ErrorF("-ignoreinput\n" "\tIgnore keyboard and mouse input.\n");
|
||||
|
|
|
@ -167,9 +167,10 @@ on its own is equivalent to \fB\-resize=randr\fP
|
|||
|
||||
.SH OPTIONS FOR MULTIWINDOW MODE
|
||||
.TP 8
|
||||
.B \-hostintitle
|
||||
.B \-[no]hostintitle
|
||||
Add the host name to the window title for X applications which are running
|
||||
on remote hosts, when that information is available and it's useful to do so.
|
||||
The default is enabled.
|
||||
|
||||
.SH OPTIONS CONTROLLING WINDOWS INTEGRATION
|
||||
.TP 8
|
||||
|
|
|
@ -78,7 +78,7 @@ Bool g_fNoHelpMessageBox = FALSE;
|
|||
Bool g_fSoftwareCursor = FALSE;
|
||||
Bool g_fSilentDupError = FALSE;
|
||||
Bool g_fNativeGl = TRUE;
|
||||
Bool g_fHostInTitle = FALSE;
|
||||
Bool g_fHostInTitle = TRUE;
|
||||
pthread_mutex_t g_pmTerminating = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
#ifdef XWIN_CLIPBOARD
|
||||
|
|
|
@ -1098,6 +1098,11 @@ ddxProcessArgument(int argc, char *argv[], int i)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (IS_OPTION("-nohostintitle")) {
|
||||
g_fHostInTitle = FALSE;
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user