commit | cfd60b217b85e3beccf719fb14a3779d4f6df94a | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Mon May 12 03:19:03 2003 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon May 12 03:19:03 2003 +0000 |
tree | 1ff998fe3552c33b3fcb0e1c4634cf11cd50c517 | |
parent | eb36d31d6fed62a506e1648cb25b681cdacc2006 [diff] [blame] |
Don't track the system menu for managed windows.
diff --git a/controls/menu.c b/controls/menu.c index fdf7409..c0b59d4 100644 --- a/controls/menu.c +++ b/controls/menu.c
@@ -3016,6 +3016,7 @@ if (!hTrackMenu || IsIconic(hwnd) || vkey == VK_SPACE ) { if (!(GetWindowLongA( hwnd, GWL_STYLE ) & WS_SYSMENU)) return; + if (GetWindowLongA( hwnd, GWL_EXSTYLE ) & WS_EX_MANAGED) return; hTrackMenu = get_win_sys_menu( hwnd ); uItem = 0; wParam |= HTSYSMENU; /* prevent item lookup */