MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / WMInstance

Method WMInstance

System/LemonWM/wm.cpp:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <lemon/core/sharedmem.h>
9
10WMInstance::WMInstance(surface_t& surface, handle_t svc, const char* ifName) : server(svc, ifName, LEMONWM_MSG_SIZE){
11 this->surface = surface;
12 this->screenSurface = surface;
13 screenSurface.buffer = nullptr;
14}
15
16void* _InitializeShellConnection(void* inst){
17 return reinterpret_cast<WMInstance*>(inst)->InitializeShellConnection();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected