summaryrefslogtreecommitdiffstats
path: root/widget/windows/nsWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget/windows/nsWindow.h')
-rw-r--r--widget/windows/nsWindow.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/widget/windows/nsWindow.h b/widget/windows/nsWindow.h
index 3a521fb978..a2b2a701bd 100644
--- a/widget/windows/nsWindow.h
+++ b/widget/windows/nsWindow.h
@@ -175,7 +175,6 @@ class nsWindow final : public nsBaseWidget {
void Resize(double aWidth, double aHeight, bool aRepaint) override;
void Resize(double aX, double aY, double aWidth, double aHeight,
bool aRepaint) override;
- mozilla::Maybe<bool> IsResizingNativeWidget() override;
void PlaceBehind(nsTopLevelWidgetZPlacement aPlacement, nsIWidget* aWidget,
bool aActivate) override;
void SetSizeMode(nsSizeMode aMode) override;
@@ -755,8 +754,12 @@ class nsWindow final : public nsBaseWidget {
bool mIsAlert = false;
bool mIsPerformingDwmFlushHack = false;
bool mDraggingWindowWithMouse = false;
- DWORD_PTR mOldStyle = 0;
- DWORD_PTR mOldExStyle = 0;
+ // Partial cached window-styles, for when going fullscreen. (Only window-
+ // decoration-related flags are saved here.)
+ struct WindowStyles {
+ LONG_PTR style, exStyle;
+ };
+ mozilla::Maybe<WindowStyles> mOldStyles;
nsNativeDragTarget* mNativeDragTarget = nullptr;
HKL mLastKeyboardLayout = 0;
mozilla::CheckInvariantWrapper<FrameState> mFrameState;