MCPcopy Create free account
hub / github.com/KDE/kwin / installInputEventFilter

Method installInputEventFilter

src/input.cpp:2941–2949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2939}
2940
2941void InputRedirection::installInputEventFilter(InputEventFilter *filter)
2942{
2943 Q_ASSERT(!m_filters.contains(filter));
2944
2945 auto it = std::lower_bound(m_filters.begin(), m_filters.end(), filter, [](InputEventFilter *a, InputEventFilter *b) {
2946 return a->weight() < b->weight();
2947 });
2948 m_filters.insert(it, filter);
2949}
2950
2951void InputRedirection::uninstallInputEventFilter(InputEventFilter *filter)
2952{

Callers 9

requestDpmsStateMethod · 0.80
updateOutputsMethod · 0.80
refreshEavesdroppingMethod · 0.80
loadConfigMethod · 0.80
loadConfigMethod · 0.80
loadConfigMethod · 0.80
loadConfigMethod · 0.80
barrierHitMethod · 0.80
loadConfigMethod · 0.80

Calls 5

weightMethod · 0.80
containsMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected