mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Fix Aero-Glass on panels (round 2) for bug 451300 r=vlad
This commit is contained in:
parent
0985ecfd38
commit
db6a07d427
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user