Commit 40461fab authored by Erwan Tulou's avatar Erwan Tulou

skins2(Win32): add a way to hide the popup menu on systray

Rightclicking on the vlc icon in systray displayed the popup menu,
but till now, there was no means to hide it without first executing
something from this menu

This patch uses leftclick as a way to hide this popupmenu
parent d663d29a
...@@ -86,6 +86,8 @@ LRESULT CALLBACK Win32Proc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) ...@@ -86,6 +86,8 @@ LRESULT CALLBACK Win32Proc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
if( (UINT)lParam == WM_LBUTTONDOWN ) if( (UINT)lParam == WM_LBUTTONDOWN )
{ {
p_intf->p_sys->p_theme->getWindowManager().raiseAll(); p_intf->p_sys->p_theme->getWindowManager().raiseAll();
CmdDlgHidePopupMenu aCmdPopup( p_intf );
aCmdPopup.execute();
} }
else if( (UINT)lParam == WM_RBUTTONDOWN ) else if( (UINT)lParam == WM_RBUTTONDOWN )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment