MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / do_ColormapNotify

Function do_ColormapNotify

cpp/linux-specific/print_events.h:508–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506}
507
508static void
509do_ColormapNotify (FILE* out_f, XEvent *eventp)
510{
511 XColormapEvent *e = (XColormapEvent *) eventp;
512 char *s;
513 char sdummy[10];
514
515 switch (e->state) {
516 case ColormapInstalled: s = "ColormapInstalled"; break;
517 case ColormapUninstalled: s = "ColormapUninstalled"; break;
518 default: s = sdummy; sprintf(sdummy, "%d", e->state); break;
519 }
520
521 fprintf(out_f," colormap 0x%lx, new %s, state %s\n",
522 e->colormap, e->new ? Yes : No, s);
523}
524
525static void
526do_ClientMessage (FILE* out_f, XEvent *eventp, Display* dpy)

Callers 1

print_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected