kwin/src/wayland/autotests/client
Martin Gräßlin 84a1d5eadc [server] Support sub-surfaces from PointerInterface
Summary:
The idea behind this change is to make the existance of sub-surfaces
an implementation detail for pointer events. The user of the library
does not need to care about on which sub-surface the pointer is on.
It only needs to care about the main surface and passes the focus to
the main surface.

Internally the PointerInterface takes care of sending the enter to
the sub-surface at the current pointer position. Also whenever the
pointer position changes, the PointerInterface evaluates whether it
triggered a change for the focused sub-surface and sends enter/leave
events accordingly. If the focused sub-surface does not change, it
sends motion events as normally, but of course under consideration
of the sub-surface position.

Overall this means that from pointer usage perspective a user of the
library doesn't need to care about the fact that there are sub-surfaces
at all. The library does the correct thing for it.

Reviewers: #plasma

Subscribers: plasma-devel

Projects: #plasma

Differential Revision: https://phabricator.kde.org/D1329
2016-04-06 09:58:30 +02:00
..
CMakeLists.txt Merge branch 'Plasma/5.6' 2016-03-09 16:21:12 +01:00
test_compositor.cpp [autotests] Switch all tests to GUILESS_MAIN 2015-11-11 08:36:31 +01:00
test_datadevice.cpp Move pointer button handling from PointerInterface to SeatInterface 2014-11-26 11:50:52 +01:00
test_datasource.cpp Normalize SIGNAL syntax 2014-12-12 08:33:10 +01:00
test_drag_drop.cpp [client] Add support for drag'n'drop 2016-03-03 09:47:12 +01:00
test_plasmashell.cpp [autotests] Add test case for PlasmaShellSurface setting role 2016-03-09 16:17:01 +01:00
test_server_side_decoration.cpp [autotest] Add tests for ServerSideDecoration protocol 2015-12-17 13:29:38 +01:00
test_shm_pool.cpp Switch all auto tests to QTEST_GUILESS_MAIN 2014-09-23 12:00:17 +02:00
test_wayland_blur.cpp [autotests] Switch all tests to GUILESS_MAIN 2015-11-11 08:36:31 +01:00
test_wayland_connection_thread.cpp Fix build 2015-11-10 15:07:44 +01:00
test_wayland_contrast.cpp [autotests] Switch all tests to GUILESS_MAIN 2015-11-11 08:36:31 +01:00
test_wayland_fullscreen_shell.cpp [autotests] Improve stability of TestWaylandFullscreenShell 2015-05-12 14:00:48 +02:00
test_wayland_output.cpp [autotests] Extend tests for Dpms 2015-09-09 17:47:36 +02:00
test_wayland_outputdevice.cpp fix OutputDevice::edid() 2015-12-16 13:57:10 +01:00
test_wayland_outputmanagement.cpp Autotests for outputmanagement and outputdevices protocols 2015-11-04 15:38:41 +01:00
test_wayland_region.cpp [autotests] Switch all tests to GUILESS_MAIN 2015-11-11 08:36:31 +01:00
test_wayland_registry.cpp [autotest] Add tests for ServerSideDecoration protocol 2015-12-17 13:29:38 +01:00
test_wayland_seat.cpp [server] Support sub-surfaces from PointerInterface 2016-04-06 09:58:30 +02:00
test_wayland_shell.cpp [autotests] Declare metatype for Qt::Edges 2015-12-02 09:16:54 +01:00
test_wayland_slide.cpp [autotests] Switch all tests to GUILESS_MAIN 2015-11-11 08:36:31 +01:00
test_wayland_subcompositor.cpp [autotests] Switch all tests to GUILESS_MAIN 2015-11-11 08:36:31 +01:00
test_wayland_subsurface.cpp [server] Add a method SurfaceInterface::surfaceAt(const QPointF&) -> SurfaceInterface* 2016-04-05 14:29:21 +02:00
test_wayland_surface.cpp [server] Add a method SurfaceInterface::surfaceAt(const QPointF&) -> SurfaceInterface* 2016-04-05 14:29:21 +02:00
test_wayland_windowmanagement.cpp [autotest] Fix crash in TestWindowManagement::cleanup 2016-03-02 08:16:23 +01:00