mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
Do not activate an MDI child if the child is invisible.
This commit is contained in:
parent
a270615fdb
commit
e069cf1476
1 changed files with 2 additions and 1 deletions
|
@ -1469,7 +1469,8 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
|
|||
return 0;
|
||||
|
||||
case WM_SETFOCUS:
|
||||
if (ci->hwndActiveChild != hwnd) MDI_ChildActivate( client, hwnd );
|
||||
if (ci->hwndActiveChild != hwnd && IsWindowVisible(hwnd))
|
||||
MDI_ChildActivate( client, hwnd );
|
||||
break;
|
||||
|
||||
case WM_CHILDACTIVATE:
|
||||
|
|
Loading…
Reference in a new issue