🎨 Track/restore original stylemask, rather than individual states.

This commit is contained in:
Zachary Flower 2017-09-12 12:27:30 -06:00
parent f256967414
commit fa4d52f042
2 changed files with 14 additions and 19 deletions

View file

@ -196,12 +196,10 @@ class NativeWindowMac : public NativeWindow,
// Simple (pre-Lion) Fullscreen Settings
bool simple_fullscreen_;
bool is_simple_fullscreen_;
bool was_maximized_;
bool was_minimizable_;
bool was_maximizable_;
bool was_resizable_;
bool was_movable_;
NSRect original_frame_;
NSUInteger simple_fullscreen_mask_;
// The presentation options before entering simple fullscreen mode.
NSApplicationPresentationOptions simple_fullscreen_options_;