Cleanup Wayland::Surface's client handle logic
authorJørgen Lind <jorgen.lind@nokia.com>
Tue, 10 Jan 2012 07:06:45 +0000 (08:06 +0100)
committerSamuel Rødal <samuel.rodal@nokia.com>
Tue, 10 Jan 2012 14:55:40 +0000 (15:55 +0100)
commitbdabd7cc79709c8fb9c2c0187c5d6ac11ae85c5b
tree009875381a6f958f8e27f1c3d55a63e45f53d528
parente35d1a00541f3f2a1ed692a910b86f9344d12085
Cleanup Wayland::Surface's client handle logic

This is code which is either fairly old or where the api has changed.
Anyway, Surfaces allways have a client handle in the resource, so no
need to check it or store it.

Change-Id: If0be4bed177d42f168b5384a820b8e681e6d9539
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/compositor/wayland_wrapper/wlcompositor.cpp
src/compositor/wayland_wrapper/wlcompositor.h
src/compositor/wayland_wrapper/wlsurface.cpp
src/compositor/wayland_wrapper/wlsurface.h