Bug 457997 - Autohiding glass panels don't display properly r=vlad,dao

This commit is contained in:
Rob Arnold 2008-11-10 16:53:32 +01:00
Родитель 454bae4609
Коммит cf7fca4074
2 изменённых файлов: 3 добавлений и 7 удалений

Просмотреть файл

@ -234,12 +234,7 @@
<label crop="center" flex="1" class="tooltip-label"/>
</tooltip>
<panel id="ctrlTab-panel" class="KUI-panel" hidden="true" norestorefocus="true" ignorekeys="true"
#ifdef XP_WIN
# XXX bug 457997
noautohide="true"
#endif
>
<panel id="ctrlTab-panel" class="KUI-panel" hidden="true" norestorefocus="true" ignorekeys="true">
<hbox pack="center">
<textbox id="ctrlTab-search"
type="search"

Просмотреть файл

@ -7877,12 +7877,13 @@ nsWindow :: DealWithPopups ( HWND inWnd, UINT inMsg, WPARAM inWParam, LPARAM inL
inMsg == WM_NCRBUTTONDOWN ||
inMsg == WM_MOVING ||
inMsg == WM_SIZING ||
inMsg == WM_GETMINMAXINFO ||
inMsg == WM_NCLBUTTONDOWN ||
inMsg == WM_NCMBUTTONDOWN ||
inMsg == WM_MOUSEACTIVATE ||
inMsg == WM_ACTIVATEAPP ||
inMsg == WM_MENUSELECT ||
// Non-toplevel windows normally don't get WM_GETMINMAXINFO.
// Therefore if a non-toplevel window gets this message, we should ignore it.
(inMsg == WM_GETMINMAXINFO && !::GetParent(inWnd))
#endif
)