MCPcopy Create free account
hub / github.com/Sonic-DE/sonic-win / startInteractiveWindowSelection

Method startInteractiveWindowSelection

src/input.cpp:2372–2380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2370}
2371
2372void 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
2382void InputRedirection::startInteractivePositionSelection(std::function<void(const QPoint &)> callback)
2383{

Callers

nothing calls this directly

Calls 3

isActiveMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected