diff options
author | Eugene Sandulenko | 2018-07-08 19:23:06 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-11 22:45:36 +0200 |
commit | 2446810378c6279583a89ca0afc3733442607860 (patch) | |
tree | 9ad4f25081fd5a787f13dc28eebd7632c12a0a0d /graphics/macgui/macwindowmanager.cpp | |
parent | c3144beac9041e322a7e13637f7bbb90b1f10dc6 (diff) | |
download | scummvm-rg350-2446810378c6279583a89ca0afc3733442607860.tar.gz scummvm-rg350-2446810378c6279583a89ca0afc3733442607860.tar.bz2 scummvm-rg350-2446810378c6279583a89ca0afc3733442607860.zip |
GRAPHICS: MACGUI: Added possibility to specify WM behaviour
Diffstat (limited to 'graphics/macgui/macwindowmanager.cpp')
-rw-r--r-- | graphics/macgui/macwindowmanager.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp index 9e5e8b76c9..6ee92e081e 100644 --- a/graphics/macgui/macwindowmanager.cpp +++ b/graphics/macgui/macwindowmanager.cpp @@ -149,7 +149,10 @@ MacWindowManager::MacWindowManager() { _lastId = 0; _activeWindow = -1; + _mode = kWMModeNone; + _menu = 0; + _menuDelay = 0; _fullRefresh = true; @@ -279,7 +282,7 @@ void MacWindowManager::draw() { removeMarked(); - if (_fullRefresh) + if (_fullRefresh && !(_mode & kWMModeNoDesktop)) drawDesktop(); for (Common::List<BaseMacWindow *>::const_iterator it = _windowStack.begin(); it != _windowStack.end(); it++) { |