MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / process_requests

Method process_requests

source/MaaWlRootsControlUnit/Client/WaylandClient.cpp:169–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169bool WaylandClient::process_requests() const
170{
171 if (const int result = wl_display_roundtrip(display_.get()); result == -1) {
172 LogError << "Failed to process requests";
173 return false;
174 }
175
176 return true;
177}
178
179bool WaylandClient::screencap(void** buffer, uint32_t& width, uint32_t& height, uint32_t& format)
180{

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected