| 2370 | } |
| 2371 | |
| 2372 | void InputRedirection::startInteractiveWindowSelection(std::function<void(Window *)> callback, const QByteArray &cursorName) |
| 2373 | { |
| 2374 | if (!m_windowSelector || m_windowSelector->isActive()) { |
| 2375 | callback(nullptr); |
| 2376 | return; |
| 2377 | } |
| 2378 | m_windowSelector->start(callback); |
| 2379 | m_pointer->setWindowSelectionCursor(cursorName); |
| 2380 | } |
| 2381 | |
| 2382 | void InputRedirection::startInteractivePositionSelection(std::function<void(const QPoint &)> callback) |
| 2383 | { |
nothing calls this directly
no test coverage detected