Fix title of frameless window showing as empty under fullscreen

This commit is contained in:
Cheng Zhao 2016-06-07 17:26:26 +09:00
parent d3d2ca9a31
commit b444211d6f
2 changed files with 18 additions and 2 deletions

View file

@ -139,6 +139,9 @@ class NativeWindowMac : public NativeWindow {
// The presentation options before entering kiosk mode.
NSApplicationPresentationOptions kiosk_options_;
// The window title, for frameless windows we only set title when fullscreen.
std::string title_;
// Force showing the buttons for frameless window.
bool force_show_buttons_;