Fix Wayland plugin so it works with the wayland bind api
authorJørgen Lind <jorgen.lind@nokia.com>
Tue, 3 May 2011 06:57:49 +0000 (08:57 +0200)
committerPaul Olav Tvete <paul.tvete@nokia.com>
Wed, 4 May 2011 07:03:49 +0000 (09:03 +0200)
commit059539e8601b369df6c0a9c2792701b121219736
treeaf2f4f03cc8158dce85c702e2f361e9236f7ec6c
parent1e697fc5f75bac6725c8ab6179bb6c5a2b0db399
Fix Wayland plugin so it works with the wayland bind api

This is mostly for the xcomposite api, but also we needed to readEvents
after doing a connect
(cherry picked from commit 16c054125949b8f8ceec9626156d8790254a63a2)
src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglintegration.cpp
src/plugins/platforms/wayland/gl_integration/xcomposite_glx/qwaylandxcompositeglxintegration.cpp
src/plugins/platforms/wayland/gl_integration/xcomposite_share/wayland-xcomposite-client-protocol.h
src/plugins/platforms/wayland/gl_integration/xcomposite_share/wayland-xcomposite-protocol.c
src/plugins/platforms/wayland/qwaylanddisplay.cpp