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

Method ~PositionUpdateBlocker

src/pointer_input.cpp:161–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

processMotionInternalMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected