Fix mouse input in WaylandSurfaceItem.
authorPier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Sun, 26 Aug 2012 19:55:37 +0000 (21:55 +0200)
committerJørgen Lind <jorgen.lind@nokia.com>
Mon, 27 Aug 2012 12:30:39 +0000 (14:30 +0200)
commitc5df6afaf32cd8506771fa5619cf3a1d004a7876
tree6610e50d09f4b714e41223781004ef34f14d7e46
parentec187fe3673dafa395d433319f112090e3603523
Fix mouse input in WaylandSurfaceItem.

Mouse input is fixed by passing global coordinates to the mouse
events, now windows can be moved by a QML-based compositor.
Also, all the mouse buttons are accepted.

Change-Id: Ib4cdca047ffffcc2a89a23847c813d34387ca591
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/compositor/compositor_api/waylandsurfaceitem.cpp