mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-07-01 09:09:52 +00:00
[client] app: add option to disable waiting for host message
This commit is contained in:
parent
f15d72cdfe
commit
add45347b5
@ -317,6 +317,13 @@ static struct Option options[] =
|
|||||||
.type = OPTION_TYPE_BOOL,
|
.type = OPTION_TYPE_BOOL,
|
||||||
.value.x_bool = true
|
.value.x_bool = true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.module = "win",
|
||||||
|
.name = "disableWaitingMessage",
|
||||||
|
.description = "Disables the confirmation message for a cleaner UI",
|
||||||
|
.type = OPTION_TYPE_BOOL,
|
||||||
|
.value.x_bool = false
|
||||||
|
},
|
||||||
|
|
||||||
// input options
|
// input options
|
||||||
{
|
{
|
||||||
@ -686,6 +693,7 @@ bool config_load(int argc, char * argv[])
|
|||||||
g_params.uiSize = option_get_int ("win", "uiSize" );
|
g_params.uiSize = option_get_int ("win", "uiSize" );
|
||||||
g_params.jitRender = option_get_bool ("win", "jitRender" );
|
g_params.jitRender = option_get_bool ("win", "jitRender" );
|
||||||
g_params.requestActivation = option_get_bool ("win", "requestActivation" );
|
g_params.requestActivation = option_get_bool ("win", "requestActivation" );
|
||||||
|
g_params.disableWaitingMessage = option_get_bool ("win", "disableWaitingMessage");
|
||||||
|
|
||||||
if (g_params.noScreensaver && g_params.autoScreensaver)
|
if (g_params.noScreensaver && g_params.autoScreensaver)
|
||||||
{
|
{
|
||||||
|
@ -1500,6 +1500,8 @@ restart:
|
|||||||
if (waitCount == 30)
|
if (waitCount == 30)
|
||||||
{
|
{
|
||||||
DEBUG_BREAK();
|
DEBUG_BREAK();
|
||||||
|
if (!g_params.disableWaitingMessage)
|
||||||
|
{
|
||||||
msgs[msgsCount++] = app_msgBox(
|
msgs[msgsCount++] = app_msgBox(
|
||||||
"Host Application Not Running",
|
"Host Application Not Running",
|
||||||
"It seems the host application is not running or your\n"
|
"It seems the host application is not running or your\n"
|
||||||
@ -1512,6 +1514,7 @@ restart:
|
|||||||
"Continuing to wait...");
|
"Continuing to wait...");
|
||||||
|
|
||||||
msgs[msgsCount++] = showSpiceInputHelp();
|
msgs[msgsCount++] = showSpiceInputHelp();
|
||||||
|
}
|
||||||
|
|
||||||
DEBUG_INFO("Check the host log in your guest at %%ProgramData%%\\Looking Glass (host)\\looking-glass-host.txt");
|
DEBUG_INFO("Check the host log in your guest at %%ProgramData%%\\Looking Glass (host)\\looking-glass-host.txt");
|
||||||
DEBUG_INFO("Continuing to wait...");
|
DEBUG_INFO("Continuing to wait...");
|
||||||
|
@ -204,6 +204,7 @@ struct AppParams
|
|||||||
int uiSize;
|
int uiSize;
|
||||||
bool jitRender;
|
bool jitRender;
|
||||||
bool requestActivation;
|
bool requestActivation;
|
||||||
|
bool disableWaitingMessage;
|
||||||
|
|
||||||
unsigned int cursorPollInterval;
|
unsigned int cursorPollInterval;
|
||||||
unsigned int framePollInterval;
|
unsigned int framePollInterval;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user