diff options
Diffstat (limited to 'engines/m4/viewmgr.cpp')
-rw-r--r-- | engines/m4/viewmgr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/m4/viewmgr.cpp b/engines/m4/viewmgr.cpp index 1b70f8db21..46b4b5af9d 100644 --- a/engines/m4/viewmgr.cpp +++ b/engines/m4/viewmgr.cpp @@ -247,6 +247,8 @@ void ViewManager::handleKeyboardEvents(uint32 keycode) { if (view->screenFlags().get & SCREVENT_KEY) { foundFlag = true; handledFlag = (view->onEvent)(KEVENT_KEY, keycode, mousePos.x, mousePos.y, _captureEvents); + if (_captureEvents) + _captureScreen = view; } } |