mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1180008 don't measure size of decorations for override-redirect windows r=acomminos
This commit is contained in:
parent
d58cb92f31
commit
1e2afaf964
@ -1520,7 +1520,8 @@ nsWindow::GetClientOffset()
|
||||
{
|
||||
PROFILER_LABEL("nsWindow", "GetClientOffset", js::ProfileEntry::Category::GRAPHICS);
|
||||
|
||||
if (!mIsTopLevel || !mShell || !mGdkWindow) {
|
||||
if (!mIsTopLevel || !mShell || !mGdkWindow ||
|
||||
gtk_window_get_window_type(GTK_WINDOW(mShell)) == GTK_WINDOW_POPUP) {
|
||||
return nsIntPoint(0, 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user