From bedbe39087531a4ee5d1a9a58e63b7f200426172 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 18 Aug 2017 19:04:37 +0200 Subject: GRAPHICS: MACGUI: Fix MacTextWindow dragging and resizing --- graphics/macgui/mactextwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'graphics/macgui/mactextwindow.cpp') 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(); -- cgit v1.2.3