libweston: send more wl_surface.enter/leave events
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 24 Mar 2017 14:21:06 +0000 (16:21 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 4 Oct 2017 13:18:06 +0000 (16:18 +0300)
commit01e0068868a2424aa53c5df9849f0aaa43b5bf37
treece10eb8239d6220079911e2643ed097ecd2b818d
parenta0bfedc1cf01e6ed60e303e33efe977f9a70b4d8
libweston: send more wl_surface.enter/leave events

A client may have bound the same wl_output multiple times, for who knows
what reason. As the server cannot know which wl_output resource to use
for which wl_surface, send enter/leave events for all of them.

This is a protocol correctness fix.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Ian Ray <ian.ray@ge.com>
Acked-by Daniel Stone <daniels@collabora.com>
libweston/compositor.c