mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 19:38:10 +00:00
[idd] helper/notify: correctly handle menu dismissal
This commit is contained in:
@@ -92,6 +92,7 @@ LRESULT CNotifyWindow::onNotifyIcon(UINT uEvent, WORD wIconId, int x, int y)
|
|||||||
switch (uEvent)
|
switch (uEvent)
|
||||||
{
|
{
|
||||||
case WM_CONTEXTMENU:
|
case WM_CONTEXTMENU:
|
||||||
|
SetForegroundWindow(m_hwnd);
|
||||||
switch (TrackPopupMenu(m_menu, TPM_RETURNCMD | TPM_NONOTIFY, x, y, 0, m_hwnd, NULL))
|
switch (TrackPopupMenu(m_menu, TPM_RETURNCMD | TPM_NONOTIFY, x, y, 0, m_hwnd, NULL))
|
||||||
{
|
{
|
||||||
case ID_MENU_SHOW_LOG:
|
case ID_MENU_SHOW_LOG:
|
||||||
|
Reference in New Issue
Block a user