mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
add command option hotkey_window=0
This commit is contained in:
parent
55e2ff2356
commit
ecd622e504
1 changed files with 6 additions and 1 deletions
|
@ -70,6 +70,7 @@ namespace PersistentWindows.SystrayShell
|
||||||
bool auto_upgrade = false;
|
bool auto_upgrade = false;
|
||||||
bool legacy_icon = false;
|
bool legacy_icon = false;
|
||||||
bool waiting_taskbar = false;
|
bool waiting_taskbar = false;
|
||||||
|
bool hotkey_window = true;
|
||||||
|
|
||||||
foreach (var arg in args)
|
foreach (var arg in args)
|
||||||
{
|
{
|
||||||
|
@ -193,6 +194,9 @@ namespace PersistentWindows.SystrayShell
|
||||||
case "-ctrl_minimize_to_tray=0":
|
case "-ctrl_minimize_to_tray=0":
|
||||||
pwp.enableMinimizeToTray = false;
|
pwp.enableMinimizeToTray = false;
|
||||||
break;
|
break;
|
||||||
|
case "-hotkey_window=0":
|
||||||
|
hotkey_window = false;
|
||||||
|
break;
|
||||||
case "-prompt_session_restore":
|
case "-prompt_session_restore":
|
||||||
prompt_session_restore = true;
|
prompt_session_restore = true;
|
||||||
break;
|
break;
|
||||||
|
@ -351,7 +355,8 @@ namespace PersistentWindows.SystrayShell
|
||||||
StartSplashForm();
|
StartSplashForm();
|
||||||
}
|
}
|
||||||
|
|
||||||
HotKeyForm.Start();
|
if (hotkey_window)
|
||||||
|
HotKeyForm.Start();
|
||||||
Application.Run();
|
Application.Run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue