summaryrefslogtreecommitdiff
path: root/widget
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-01-14 20:08:02 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-08 15:02:54 +0200
commit55d1aa0748bcded0a2bdb2e2fea1f26e130d1176 (patch)
treebb6dd608b8616d771bb90923ee356652a65211b9 /widget
parent9fd02b65e17654e08d5e30c4336b32924991b825 (diff)
downloaduxp-55d1aa0748bcded0a2bdb2e2fea1f26e130d1176.tar.gz
[interface] Don't block size mode changes.
Diffstat (limited to 'widget')
-rw-r--r--widget/windows/nsWindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp
index 6a00872980..f77df4665b 100644
--- a/widget/windows/nsWindow.cpp
+++ b/widget/windows/nsWindow.cpp
@@ -3427,8 +3427,6 @@ nsWindow::MakeFullScreen(bool aFullScreen, nsIScreen* aTargetScreen)
taskbarInfo->PrepareFullScreenHWND(mWnd, TRUE);
}
} else {
- if (mSizeMode != nsSizeMode_Fullscreen)
- return NS_OK;
SetSizeMode(mOldSizeMode);
}