mirror of
https://github.com/rad4day/Waybar.git
synced 2025-11-22 00:12:39 +01:00
Multiple .done events may arrive in batch. In this case libwayland would queue xdg_output.destroy and dispatch all pending events, triggering this callback several times for the same output. Delete xdg_output pointer immediately on the first event and use the value as a guard for reentering.