Skip to content

Commit 64259f7

Browse files
thisismy-githubIbuprophen
authored andcommitted
Various single-click option fixes
Fixed single-click option ignoring split arrows Fixed Apps folder being clickable
1 parent 8031739 commit 64259f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/StartMenu/StartMenuDLL/MenuContainer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6808,7 +6808,7 @@ LRESULT CMenuContainer::OnLButtonDblClick( UINT uMsg, WPARAM wParam, LPARAM lPar
68086808
ClientToScreen(&pt);
68096809
if (s_bWin7Style && item.id==MENU_PROGRAMS) // only single clicks for All Programs
68106810
OnLButtonDown(WM_LBUTTONDOWN,wParam,lParam,bHandled);
6811-
else if (!bArrow) // ignore double-click on the split arrow
6811+
else if (!bArrow && item.id!=MENU_APPS) // ignore double-click on the split arrow and Apps folder
68126812
ActivateItem(index,ACTIVATE_EXECUTE,&pt);
68136813
return 0;
68146814
}
@@ -6832,7 +6832,7 @@ LRESULT CMenuContainer::OnLButtonUp( UINT uMsg, WPARAM wParam, LPARAM lParam, BO
68326832
const MenuItem &item=m_Items[index];
68336833
POINT pt2=pt;
68346834
ClientToScreen(&pt2);
6835-
if (!item.bFolder || (s_bSingleClickFolders && item.id!=MENU_PROGRAMS)) // never open All Programs link with single click
6835+
if (!item.bFolder || (s_bSingleClickFolders && item.id!=MENU_PROGRAMS && item.id!=MENU_APPS && !bArrow)) // never open All Programs, Apps folder, or jumplists with single click
68366836
{
68376837
if (item.jumpIndex>=0 && m_bHotArrow)
68386838
{

0 commit comments

Comments
 (0)