MCPcopy Create free account
hub / github.com/SFML/SFML / processEventsImpl

Method processEventsImpl

src/SFML/Window/Unix/ClipboardImpl.cpp:172–187  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

170
171////////////////////////////////////////////////////////////
172void ClipboardImpl::processEventsImpl()
173{
174 XEvent event;
175
176 // Pick out the events that are interesting for this window
177 while (XCheckIfEvent(m_display.get(), &event, &checkEvent, reinterpret_cast<XPointer>(m_window)))
178 m_events.push(event);
179
180 // Handle the events for this window that we just picked out
181 while (!m_events.empty())
182 {
183 event = m_events.front();
184 m_events.pop();
185 processEvent(event);
186 }
187}
188
189
190////////////////////////////////////////////////////////////

Callers 1

processEventsMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected