MCPcopy Create free account
hub / github.com/deskflow/deskflow / flush

Method flush

src/lib/platform/XWindowsEventQueueBuffer.cpp:186–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186void XWindowsEventQueueBuffer::flush()
187{
188 // note -- m_mutex must be locked on entry
189
190 // flush the posted event list to the X server
191 for (auto &event : m_postedEvents) {
192 XSendEvent(m_display, m_window, False, 0, &event);
193 }
194 XFlush(m_display);
195 m_postedEvents.clear();
196}

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected