Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
static Display *xdisplay = 0;
23
24
static Display *disp()
25
{
26
if (!xdisplay) {
27
xdisplay = XOpenDisplay(NULL);
28
}
29
30
return xdisplay;
31
}
32
33
static void init()
34
{
Callers
2
init
Function · 0.70
PressKeys
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected