Introduced WaylandClient API to keep track of clients.
authorSamuel Rødal <samuel.rodal@nokia.com>
Thu, 29 Mar 2012 11:56:38 +0000 (13:56 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Thu, 29 Mar 2012 15:45:46 +0000 (17:45 +0200)
commit6dbc6e183ba8c8e168d7979f2f67617ed643e57b
treed2c23d6924dcb86d7761016ba4c108d49dd1a6b3
parentdc152be5f5d5c888cddb6b4e897f621f05612297
Introduced WaylandClient API to keep track of clients.

Makes it easier to keep track of which surfaces belong to a given
client, and the client associated with a given surface. WaylandClient is
an opaque type, representing an underlying wl_client *.

Change-Id: If21a2e02eb13a860e6ac641875bdcca67a53fdf5
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
src/compositor/compositor_api/waylandcompositor.cpp
src/compositor/compositor_api/waylandcompositor.h
src/compositor/compositor_api/waylandsurface.cpp
src/compositor/compositor_api/waylandsurface.h
src/compositor/global/waylandexport.h
src/compositor/wayland_wrapper/wlcompositor.cpp
src/compositor/wayland_wrapper/wlcompositor.h
tests/auto/compositor/tst_compositor.cpp