Fix Aero-Glass on panels (round 2) for bug 451300 r=vlad
This commit is contained in:
Родитель
ff09e103ae
Коммит
371cfa442b
|
@ -5534,7 +5534,9 @@ DWORD nsWindow::WindowStyle()
|
|||
|
||||
case eWindowType_popup:
|
||||
if (mTransparencyMode == eTransparencyGlass) {
|
||||
style = WS_OVERLAPPED;
|
||||
/* Glass seems to need WS_CAPTION or WS_THICKFRAME to work.
|
||||
WS_THICKFRAME has issues with autohiding popups but looks better */
|
||||
style = WS_POPUP | WS_THICKFRAME;
|
||||
} else {
|
||||
style = WS_OVERLAPPED | WS_POPUP;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче