mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 591154 - Fix for Quake Live flickering when entering full screen mode. r=roc, a=final.
This commit is contained in:
parent
c0b0832655
commit
bc8f55e1ed
@ -323,7 +323,7 @@ nsUXThemeData::UpdateTitlebarInfo(HWND aWnd)
|
||||
nsToolkit::mDllInstance, NULL);
|
||||
NS_ASSERTION(hWnd, "UpdateTitlebarInfo window creation failed.");
|
||||
|
||||
ShowWindow(hWnd, SW_SHOW);
|
||||
ShowWindow(hWnd, SW_SHOWNOACTIVATE);
|
||||
TITLEBARINFOEX info = {0};
|
||||
info.cbSize = sizeof(TITLEBARINFOEX);
|
||||
SendMessage(hWnd, WM_GETTITLEBARINFOEX, 0, (LPARAM)&info);
|
||||
|
@ -5911,6 +5911,10 @@ void nsWindow::OnWindowPosChanged(WINDOWPOS *wp, PRBool& result)
|
||||
printf("SWP_NOSIZE ");
|
||||
if (wp->flags & SWP_HIDEWINDOW)
|
||||
printf("SWP_HIDEWINDOW ");
|
||||
if (wp->flags & SWP_NOZORDER)
|
||||
printf("SWP_NOZORDER ");
|
||||
if (wp->flags & SWP_NOACTIVATE)
|
||||
printf("SWP_NOACTIVATE ");
|
||||
printf("\n");
|
||||
#endif
|
||||
|
||||
@ -5983,7 +5987,7 @@ void nsWindow::OnWindowPosChanged(WINDOWPOS *wp, PRBool& result)
|
||||
}
|
||||
|
||||
// Handle window size changes
|
||||
if (0 == (wp->flags & SWP_NOSIZE)) {
|
||||
if (!(wp->flags & SWP_NOSIZE)) {
|
||||
RECT r;
|
||||
PRInt32 newWidth, newHeight;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user