From 5c1731b060c82da96d27d9a0dfb1b3997f1903be Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 23 Feb 2014 13:33:04 +0100 Subject: [PATCH] Fix #8657 on Linux. On windows, there is apparently some more work to do. --- src/frontends/qt4/GuiApplication.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index f32c7469b8..fc627a644a 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -851,8 +851,12 @@ public: case QEvent::Show: case QEvent::Hide: case QEvent::Resize: + case QEvent::UpdateRequest: + case QEvent::CursorChange: + case QEvent::ActionChanged: return QObject::eventFilter(obj, event); default: + // FIXME Blocking all these events is a bad idea. QKeyEvent *keyEvent = dynamic_cast(event); if (keyEvent && keyEvent->key() == Qt::Key_Escape) pressed_ = true; -- 2.39.5