mirror of
https://github.com/reactos/reactos.git
synced 2024-11-29 22:43:36 +08:00
[USER32] Let App Switcher activate only one window (#1214)
This commit is contained in:
parent
8d878f4bfa
commit
dfa23b60ec
@ -424,9 +424,16 @@ BOOL ProcessHotKey(VOID)
|
||||
windowCount=0;
|
||||
EnumChildWindowsZOrder(NULL, EnumerateCallback, 0);
|
||||
|
||||
if (windowCount < 2)
|
||||
if (windowCount == 0)
|
||||
return FALSE;
|
||||
|
||||
if (windowCount == 1)
|
||||
{
|
||||
selectedWindow = 0;
|
||||
CompleteSwitch(TRUE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
selectedWindow = 1;
|
||||
|
||||
TRACE("[ATbot] HotKey Received. Opening window.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user