Commit ae8e69b4 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.
parent 58bee8e3
......@@ -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)
......
Supports Markdown
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