| 3550 | } |
| 3551 | |
| 3552 | std::optional<QPointF> InputRedirection::implicitGrabPositionBySerial(SeatInterface *seat, uint32_t serial) const |
| 3553 | { |
| 3554 | if (seat->hasImplicitPointerGrab(serial)) { |
| 3555 | return m_pointer->pos(); |
| 3556 | } |
| 3557 | if (seat->hasImplicitTouchGrab(serial)) { |
| 3558 | return m_touch->position(); |
| 3559 | } |
| 3560 | if (waylandServer()->tabletManagerV2()->seat(seat)->hasImplicitGrab(serial)) { |
| 3561 | return m_tablet->position(); |
| 3562 | } |
| 3563 | |
| 3564 | return std::nullopt; |
| 3565 | } |
| 3566 | |
| 3567 | void InputRedirection::startInteractiveWindowSelection(std::function<void(Window *)> callback, const QByteArray &cursorName) |
| 3568 | { |
no test coverage detected