mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-16 08:50:40 +01:00
Output power management is optional: the engine comment already says so, but uu_wl_wake() only tolerated a *missing* power manager. When the compositor offers zwlr_output_power_manager_v1 and then refuses the mode (headless outputs, outputs without DPMS), power_failed is set and the function reported an error. capture::keep_display_awake() propagates that error and video.rs aborts the whole capture task with '?', so a client could connect but never received a frame. Treat a failed power handshake like a missing one: skip waking the screen and keep streaming.