Re: [PATCH xwayland v2] xwayland: do not add output into output_list multiple times

2015-07-15 Thread Marek Chalupa
On 05/21/2015 03:43 PM, Marek Chalupa wrote: output.done event can be sent even on some property change, not only when announcing the output. Therefore we must check if we already have it otherwise we may corrupt the list by adding it multiple times. This fixes bug when xwayland looped indefin

[PATCH xwayland v2] xwayland: do not add output into output_list multiple times

2015-05-21 Thread Marek Chalupa
output.done event can be sent even on some property change, not only when announcing the output. Therefore we must check if we already have it otherwise we may corrupt the list by adding it multiple times. This fixes bug when xwayland looped indefinitely in output.done handler and that can be repr