| 512 | } |
| 513 | |
| 514 | void PointerInputRedirection::focusUpdate(Window *focusOld, Window *focusNow) |
| 515 | { |
| 516 | if (focusOld && focusOld->isClient()) { |
| 517 | focusOld->pointerLeaveEvent(); |
| 518 | } |
| 519 | disconnect(m_focusGeometryConnection); |
| 520 | m_focusGeometryConnection = QMetaObject::Connection(); |
| 521 | |
| 522 | if (focusNow && focusNow->isClient()) { |
| 523 | focusNow->pointerEnterEvent(m_pos); |
| 524 | } |
| 525 | } |
| 526 | |
| 527 | void PointerInputRedirection::setEnableConstraints(bool set) |
| 528 | { |
nothing calls this directly
no test coverage detected