on xenial help sign in
reenable code
commit5599c18a113310a339d7a3d570d1b77d0503771c authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 22 Feb 2017, 09:46 (10 years ago) parent4b2a463
1 file changed+3−3
plugins/Utils/WindowInputMonitor.cpp+3−3
plugins/Utils/WindowInputMonitor.cpp+3−3
@@ -73,9 +73,9 @@ void WindowInputMonitor::update(QEvent *event)
7373 && m_windowLastTouchedTimer->elapsed() >= msecsWithoutTouches) {
7474 m_pressedHomeKey = keyEvent->key();
7575 m_activationTimer->start();
76−// } else if (m_pressedHomeKey != 0 && !m_homeKeys.contains(keyEvent->key())) {
77−// // something else came in... cancel activation
78−// m_activationTimer->stop();
76+ } else if (m_pressedHomeKey != 0 && !m_homeKeys.contains(keyEvent->key())) {
77+ // something else came in... cancel activation
78+ m_activationTimer->stop();
7979 }
8080
8181 } else if (event->type() == QEvent::KeyRelease) {