Skip to content

xwayland/window: Do not double add window to damage list

msizanoen1 requested to merge msizanoen1/xserver:xwayland-fix-damage into master

damage_report may be invoked multiple times before xwl_window_post_damage in rootful mode. Ensure that the window is only added to the list if it's not already added to avoid list corruption leading to infinite loop in xwl_screen_post_damage.

Edited by msizanoen1

Merge request reports