Commit 1ad65f3f authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

[platforms/drm] accept both keypress and keyrelease event in filter

We don't want to pass out either of key press or release event to other
filters.

(cherry picked from commit ae8e69b4)
parent 2f4a7446
......@@ -45,9 +45,8 @@ bool DpmsInputEventFilter::keyEvent(QKeyEvent *event)
{
if (event->type() == QKeyEvent::KeyPress) {
notify();
return true;
}
return false;
return true;
}
bool DpmsInputEventFilter::touchDown(qint32 id, const QPointF &pos, quint32 time)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment