Fix typo
This commit is contained in:
parent
4db535db07
commit
5ab7b7e41e
4 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
2
input.h
2
input.h
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue