MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / EndX

Function EndX

xscreen.cpp:1269–1281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1267// This is called right before program termination to get rid of the window.
1268
1269void EndX()
1270{
1271#ifdef X11
1272 XFreeGC(gi.disp, gi.gc);
1273 XFreeGC(gi.disp, gi.pmgc);
1274 XFreePixmap(gi.disp, gi.pmap);
1275 XDestroyWindow(gi.disp, gi.wind);
1276 XCloseDisplay(gi.disp);
1277#endif
1278#ifdef WCLI
1279 UnregisterClass(szAppName, wi.hinst);
1280#endif
1281}
1282#endif // ISG
1283#endif // WIN
1284

Callers 1

xscreen.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected