MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / disp

Function disp

plugins/base/utils/linux/linux.cpp:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22static Display *xdisplay = 0;
23
24static Display *disp()
25{
26 if (!xdisplay) {
27 xdisplay = XOpenDisplay(NULL);
28 }
29
30 return xdisplay;
31}
32
33static void init()
34{

Callers 2

initFunction · 0.70
PressKeysFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected