diff options
author | Eugene Sandulenko | 2017-08-18 19:04:37 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-18 19:04:37 +0200 |
commit | bedbe39087531a4ee5d1a9a58e63b7f200426172 (patch) | |
tree | 979306d524288f5e5dd70a661ee856a8a6391969 /graphics/macgui/mactextwindow.cpp | |
parent | bc8b952d7169820213551dcdacccbebb66e1d84a (diff) | |
download | scummvm-rg350-bedbe39087531a4ee5d1a9a58e63b7f200426172.tar.gz scummvm-rg350-bedbe39087531a4ee5d1a9a58e63b7f200426172.tar.bz2 scummvm-rg350-bedbe39087531a4ee5d1a9a58e63b7f200426172.zip |
GRAPHICS: MACGUI: Fix MacTextWindow dragging and resizing
Diffstat (limited to 'graphics/macgui/mactextwindow.cpp')
-rw-r--r-- | graphics/macgui/mactextwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index 9bbf2c8d10..85a07b975e 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -306,6 +306,9 @@ bool MacTextWindow::processEvent(Common::Event &event) { } } + if (hasAllFocus()) + return MacWindow::processEvent(event); // Pass it to upstream + if (click == kBorderScrollUp || click == kBorderScrollDown) { if (event.type == Common::EVENT_LBUTTONDOWN) { int consoleHeight = getInnerDimensions().height(); |