mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 610713 - Fix popup menus leaving behind artifacts when using hardware acceleration and a basic Windows theme. r=jmathies
This commit is contained in:
parent
58d3575f7e
commit
b78362ef97
@ -481,8 +481,13 @@ nsWindow::Create(nsIWidget *aParent,
|
||||
DWORD extendedStyle = WindowExStyle();
|
||||
|
||||
if (mWindowType == eWindowType_popup) {
|
||||
if (!aParent)
|
||||
if (!aParent) {
|
||||
parent = NULL;
|
||||
}
|
||||
|
||||
if (mPopupType == ePopupTypeMenu && aInitData->mDropShadow) {
|
||||
extendedStyle |= WS_EX_COMPOSITED;
|
||||
}
|
||||
|
||||
if (aInitData->mIsDragPopup) {
|
||||
// This flag makes the window transparent to mouse events
|
||||
|
Loading…
Reference in New Issue
Block a user