mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02: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.