mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Fix remaining bugs and issues with PiP
This commit is contained in:
parent
14b7011d74
commit
27af37ea7b
3 changed files with 24 additions and 5 deletions
|
|
@ -3207,6 +3207,12 @@ NS_IMETHODIMP nsWindow::HideWindowChrome(bool aShouldHide)
|
|||
::SetWindowLongPtrW(hwnd, GWL_STYLE, style);
|
||||
::SetWindowLongPtrW(hwnd, GWL_EXSTYLE, exStyle);
|
||||
|
||||
// Apply the new non-client metrics immediately. Otherwise the client area
|
||||
// keeps its old titlebar/border dimensions until the first move or resize.
|
||||
::SetWindowPos(hwnd, nullptr, 0, 0, 0, 0,
|
||||
SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE |
|
||||
SWP_NOZORDER | SWP_NOACTIVATE);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue