This commit is contained in:
Martin Gräßlin 2017-01-02 20:13:30 +01:00
parent 4db535db07
commit 5ab7b7e41e
4 changed files with 4 additions and 4 deletions

View file

@ -1375,7 +1375,7 @@ void InputRedirection::installInputEventFilter(InputEventFilter *filter)
m_filters << filter;
}
void InputRedirection::prepandInputEventFilter(InputEventFilter *filter)
void InputRedirection::prependInputEventFilter(InputEventFilter *filter)
{
Q_ASSERT(!m_filters.contains(filter));
m_filters.prepend(filter);

View file

@ -150,7 +150,7 @@ public:
* Note: the event filter will get events before the lock screen can get them, thus
* this is a security relevant method.
**/
void prepandInputEventFilter(InputEventFilter *filter);
void prependInputEventFilter(InputEventFilter *filter);
void uninstallInputEventFilter(InputEventFilter *filter);
/**

View file

@ -120,7 +120,7 @@ void DrmBackend::outputWentOff()
return;
}
m_dpmsFilter.reset(new DpmsInputEventFilter(this));
input()->prepandInputEventFilter(m_dpmsFilter.data());
input()->prependInputEventFilter(m_dpmsFilter.data());
}
void DrmBackend::turnOutputsOn()

View file

@ -253,7 +253,7 @@ void HwcomposerBackend::init()
initLights();
toggleBlankOutput();
m_filter.reset(new BacklightInputEventFilter(this));
input()->prepandInputEventFilter(m_filter.data());
input()->prependInputEventFilter(m_filter.data());
// get display configuration
auto output = createOutput(hwcDevice);