MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / HandleClientMessage

Function HandleClientMessage

src/Window_X11.c:755–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753static void HandleGenericEvent(XEvent* e);
754
755static void HandleClientMessage(XEvent* e) {
756 if (e->xclient.data.l[0] == wm_destroy) {
757 HandleWMDestroy();
758 } else if (e->xclient.data.l[0] == net_wm_ping) {
759 HandleWMPing(e);
760 }
761}
762
763static Bool FilterEvent(Display* d, XEvent* e, XPointer w) {
764 return

Callers 1

Window_ProcessEventsFunction · 0.85

Calls 2

HandleWMDestroyFunction · 0.85
HandleWMPingFunction · 0.85

Tested by

no test coverage detected