Expose the mouse focus functions from Wayland::Compositor
authorJørgen Lind <jorgen.lind@nokia.com>
Tue, 10 Jan 2012 07:09:58 +0000 (08:09 +0100)
committerSamuel Rødal <samuel.rodal@nokia.com>
Tue, 10 Jan 2012 14:56:45 +0000 (15:56 +0100)
commit9717ea05dc097bae0b91bc2d94ce7734b6e70847
tree5e5566a50ab1eb94062a94e0d4b338e0d6593b61
parentbdabd7cc79709c8fb9c2c0187c5d6ac11ae85c5b
Expose the mouse focus functions from Wayland::Compositor

For Compositors to handle mouse focus handling, ie enter/leave. This
calls down into wayland-server which keeps track of which surface holds
the focus. Trivial implementation in compositor would be to call
this function for all mouseMove events. I believe overhead should not be
significant.

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