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

Method FindWindow

System/LemonWM/wm.cpp:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27WMWindow* WMInstance::FindWindow(int id){
28 for(WMWindow* win : windows){
29 if(win->clientID == id){
30 return win;
31 }
32 }
33
34 return nullptr;
35}
36
37void WMInstance::MinimizeWindow(WMWindow* win, bool state){
38 redrawBackground = true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected