| 3565 | } |
| 3566 | |
| 3567 | void 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 | |
| 3577 | void InputRedirection::startInteractivePositionSelection(std::function<void(const QPoint &)> callback) |
| 3578 | { |
nothing calls this directly
no test coverage detected