diff options
author | Andy Nichols <andy.nichols@digia.com> | 2013-01-15 18:42:42 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@digia.com> | 2013-01-18 14:09:35 +0100 |
commit | 3f8c8e0f5c9828634621238c145c7e62298a66ba (patch) | |
tree | 22a153819ccee353b78191356f4770acf72effb2 /tests | |
parent | 7bd2d367a3eafc403a6c2d3264c5812119768f60 (diff) |
Fix the pointer cursor handling (QtCompositor side)
We now use the wayland-cursor library for handling pointer cursors.
This required some API changes in QtCompositor, as cursors are now
represented by wl_surfaces instead of just wl_buffer data. This means
that when a new cursor is set by a client, you will receive a surface
which you can generate cursors from. This Surface will be painted to
when the cursor is changed. This also means that not all
WaylandSurfaces are window surfaces, so it's important that you check
that a WaylandSurface has a shell surface before treating it like a
window surface. An API has been added for checking if there is a
shellSurface available in a WaylandSurface.
The qwindow compositor example demonstrates the correct usage of these
new API's.
Change-Id: Ife6b417f1048fd926a3499a139de07bceaebc727
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions