Skip to content

Commit

Permalink
+ re-enable check for active window for spaceball events
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Mar 23, 2015
1 parent eba335c commit 70a1124
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Gui/GuiApplicationNativeEventAware.cpp
Expand Up @@ -100,9 +100,8 @@ void Gui::GUIApplicationNativeEventAware::initSpaceball(QMainWindow *window)

bool Gui::GUIApplicationNativeEventAware::processSpaceballEvent(QObject *object, QEvent *event)
{
// Maybe this causes the regression reported in #0001970. So to test it it will be commented out for now
//if (!activeWindow())
// return true;
if (!activeWindow())
return true;

QApplication::notify(object, event);
if (event->type() == Spaceball::MotionEvent::MotionEventType)
Expand Down

0 comments on commit 70a1124

Please sign in to comment.