Drop bool InputRedirection::areButtonsPressed() const
Unused code, no longer needed as we have it in the events.
This commit is contained in:
parent
9b917a20fe
commit
b8fcfbb8fc
2 changed files with 0 additions and 11 deletions
10
input.cpp
10
input.cpp
|
@ -1560,16 +1560,6 @@ Qt::MouseButtons InputRedirection::qtButtonStates() const
|
|||
return buttons;
|
||||
}
|
||||
|
||||
bool InputRedirection::areButtonsPressed() const
|
||||
{
|
||||
for (auto it = m_pointerButtons.constBegin(); it != m_pointerButtons.constEnd(); ++it) {
|
||||
if (it.value() == KWin::InputRedirection::PointerButtonPressed) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool acceptsInput(Toplevel *t, const QPoint &pos)
|
||||
{
|
||||
const QRegion input = t->inputShape();
|
||||
|
|
1
input.h
1
input.h
|
@ -214,7 +214,6 @@ private:
|
|||
void updatePointerInternalWindow();
|
||||
void pointerInternalWindowVisibilityChanged(bool visible);
|
||||
void installCursorFromDecoration();
|
||||
bool areButtonsPressed() const;
|
||||
void setupWorkspace();
|
||||
void reconfigure();
|
||||
void setupInputFilters();
|
||||
|
|
Loading…
Reference in a new issue