#634 moved most monitor disconnect handling to the backplane

This commit is contained in:
Mikayla
2025-11-07 17:08:05 +00:00
parent 9ff183b17d
commit 8c8d3faf72
3 changed files with 45 additions and 26 deletions

View File

@@ -264,11 +264,7 @@ function threads.thread__render(smem)
end
elseif cmd.key == MQ__RENDER_DATA.MON_DISCONNECT then
-- monitor disconnected
if renderer.handle_disconnect(cmd.val) then
log_sys("lost a configured monitor")
else
log_sys("lost an unused monitor")
end
renderer.handle_disconnect(cmd.val)
elseif cmd.key == MQ__RENDER_DATA.MON_RESIZE then
-- monitor resized
local is_used, is_ok = renderer.handle_resize(cmd.val)