#331 menu change : turn off webpage commander to unregister hotkey

This commit is contained in:
Kang Yu 2024-06-22 11:44:51 -07:00
parent fd50453c21
commit 406fed8328
3 changed files with 7 additions and 11 deletions

View file

@ -12,14 +12,13 @@ namespace PersistentWindows.SystrayShell
{
static HotKeyWindow hkwin = null;
static Thread messageLoop;
static HotKeyForm hkf = null;
public static void Start(uint hotkey)
{
messageLoop = new Thread(() =>
{
hkwin = new HotKeyWindow(hotkey);
hkf = new HotKeyForm(hotkey);
HotKeyForm hkf = new HotKeyForm(hotkey);
Application.Run(hkf);
})
{