From 937518a2587c2c63649c2e011c33338b7eafe87c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Mar 2014 16:17:55 +0300 Subject: Block consumed mouse events handling. --- src/gui/gui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 275103a25..aca1ef4b3 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -926,6 +926,9 @@ void Gui::distributeMouseEvent(Widget *const source, if (type == MouseEvent::RELEASED) dragDrop.clear(); + if (event.isConsumed()) + break; + // If a non modal focused widget has been reach // and we have modal focus cancel the distribution. if (mFocusHandler->getModalFocused() -- cgit v1.2.3-60-g2f50