| 159 | s_counter++; |
| 160 | } |
| 161 | ~PositionUpdateBlocker() |
| 162 | { |
| 163 | s_counter--; |
| 164 | if (s_counter == 0) { |
| 165 | if (!s_scheduledPositions.isEmpty()) { |
| 166 | const auto pos = s_scheduledPositions.takeFirst(); |
| 167 | m_pointer->processMotionInternal(pos.pos, pos.delta, pos.deltaNonAccelerated, pos.time, nullptr, pos.type); |
| 168 | } |
| 169 | } |
| 170 | } |
| 171 | |
| 172 | static bool isPositionBlocked() |
| 173 | { |
nothing calls this directly
no test coverage detected