xserver-multidpi/hw
Marek Chalupa 21f384b7b8 xwayland: do not add output into output_list multiple times
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 reproduced following these steps (under X without
multi-monitor setup):
 1) run weston --output-count=2
 2) run xterm, move it so that half is on one output
    and half on the other
 3) close second output, try run weston-terminal

weston sends updated outputs which trigger this bug.

v2. factor out common code into function
    move expecting_events into right branch

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
2015-09-25 15:24:22 +02:00
..
dmx dmx: fix typo in the title 2015-09-23 10:39:47 -04:00
kdrive kdrive: Remove dead debug arrays. 2015-09-23 15:17:22 -04:00
vfb xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfree86 dri2: better checks for integer overflow in GetBuffers* 2015-09-24 13:47:01 -04:00
xnest Merge remote-tracking branch 'jturney/mingw-build-fixes' 2015-05-11 15:36:53 -07:00
xquartz dix: Restore PaintWindow screen hook 2015-07-08 16:41:28 -04:00
xwayland xwayland: do not add output into output_list multiple times 2015-09-25 15:24:22 +02:00
xwin dix: Restore PaintWindow screen hook 2015-07-08 16:41:28 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00