MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / XCreateSimpleWindow

Function XCreateSimpleWindow

server/faker-x11.cpp:200–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198// current in OpenGL.
199
200Window XCreateSimpleWindow(Display *dpy, Window parent, int x, int y,
201 unsigned int width, unsigned int height, unsigned int border_width,
202 unsigned long border, unsigned long background)
203{
204 Window win = 0;
205 TRY();
206
207 if(IS_EXCLUDED(dpy))
208 return _XCreateSimpleWindow(dpy, parent, x, y, width, height, border_width,
209 border, background);
210
211 /////////////////////////////////////////////////////////////////////////////
212 OPENTRACE(XCreateSimpleWindow); PRARGD(dpy); PRARGX(parent); PRARGI(x);
213 PRARGI(y); PRARGI(width); PRARGI(height); STARTTRACE();
214 /////////////////////////////////////////////////////////////////////////////
215
216 win = _XCreateSimpleWindow(dpy, parent, x, y, width, height, border_width,
217 border, background);
218 if(win) WINHASH.add(dpy, win);
219
220 /////////////////////////////////////////////////////////////////////////////
221 STOPTRACE(); PRARGX(win); CLOSETRACE();
222 /////////////////////////////////////////////////////////////////////////////
223
224 CATCH();
225 return win;
226}
227
228
229Window XCreateWindow(Display *dpy, Window parent, int x, int y,

Callers 4

mainFunction · 0.85
mainFunction · 0.85
open_display_iFunction · 0.85
FrameTestMethod · 0.85

Calls 1

addMethod · 0.45

Tested by

no test coverage detected