mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
Remove CM timer event to fix taskbar behavior on Win 11
This commit is contained in:
parent
ca996ed89a
commit
53d8b10de2
@ -4251,9 +4251,6 @@ UINT CmMainWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, void *p
|
|||||||
case WM_TIMER:
|
case WM_TIMER:
|
||||||
switch (wParam)
|
switch (wParam)
|
||||||
{
|
{
|
||||||
case 1:
|
|
||||||
CmSetForegroundProcessToCnService();
|
|
||||||
break;
|
|
||||||
case 2:
|
case 2:
|
||||||
CmPollingTray(hWnd);
|
CmPollingTray(hWnd);
|
||||||
break;
|
break;
|
||||||
@ -11269,7 +11266,6 @@ void CmMainWindowOnInit(HWND hWnd)
|
|||||||
CmInitNotifyClientThread();
|
CmInitNotifyClientThread();
|
||||||
|
|
||||||
// Timer setting
|
// Timer setting
|
||||||
SetTimer(hWnd, 1, 128, NULL);
|
|
||||||
SetTimer(hWnd, 6, 5000, NULL);
|
SetTimer(hWnd, 6, 5000, NULL);
|
||||||
|
|
||||||
// Initialize the task tray
|
// Initialize the task tray
|
||||||
|
Loading…
Reference in New Issue
Block a user