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

Method startInteractiveWindowSelection

src/input.cpp:3567–3575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3565}
3566
3567void InputRedirection::startInteractiveWindowSelection(std::function<void(Window *)> callback, const QByteArray &cursorName)
3568{
3569 if (!m_windowSelector || m_windowSelector->isActive()) {
3570 callback(nullptr);
3571 return;
3572 }
3573 m_windowSelector->start(callback);
3574 m_pointer->setWindowSelectionCursor(cursorName);
3575}
3576
3577void InputRedirection::startInteractivePositionSelection(std::function<void(const QPoint &)> callback)
3578{

Callers

nothing calls this directly

Calls 3

isActiveMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected