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

Function do_GraphicsExpose

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

Source from the content-addressed store, hash-verified

220}
221
222static void
223do_GraphicsExpose (FILE* out_f, XEvent *eventp)
224{
225 XGraphicsExposeEvent *e = (XGraphicsExposeEvent *) eventp;
226 char *m;
227 char mdummy[10];
228
229 switch (e->major_code) {
230 case X_CopyArea: m = "CopyArea"; break;
231 case X_CopyPlane: m = "CopyPlane"; break;
232 default: m = mdummy; sprintf(mdummy, "%d", e->major_code); break;
233 }
234
235 fprintf(out_f," (%d,%d), width %d, height %d, count %d,\n",
236 e->x, e->y, e->width, e->height, e->count);
237 fprintf(out_f," major %s, minor %d\n", m, e->minor_code);
238}
239
240static void
241do_NoExpose (FILE* out_f, XEvent *eventp)

Callers 1

print_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected