mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-26 03:16:53 -06:00
A minimised or covered main window draws no frames, and control requests were only answered inside a frame, so every control-channel and attached MCP call (save_file among them) timed out after 60 s while the app was out of sight. eframe still calls the app's logic then whenever a repaint is requested, which the control server already does for each request. The desktop app's logic now answers, while the window is hidden, the requests that need no frame: engine.execute, engine.commands, document.inspect, node.get, window.list and ui.render. Screenshots, input and the interface's own state still wait for the window, and their timeout now says that the window has to be on screen. Closes #269