diff options
author | Johan Klokkhammer Helsing <johan.helsing@theqtcompany.com> | 2016-03-19 15:32:11 +0100 |
---|---|---|
committer | Giulio Camuffo <giulio.camuffo@kdab.com> | 2016-04-11 06:20:41 +0000 |
commit | 0b16a83b9d292d98d0ef6d2541af0eb58a8504f2 (patch) | |
tree | e7d0af6e4ec0fa5f1ab5fd131033938d259588a3 /tests/auto/compositor/compositor.pro | |
parent | f430e84e0642b5eec0b6069dadd8317d880932cc (diff) |
Create a fallback shellSurface in wl_shell::get_shell_surface
This makes QWaylandShellPrivate::shell_get_shell_surface behave
similarly to QWaylandCompositorPrivate::compositor_create_surface.
First, a signal is emitted letting a compositor implementation create
its own subclass of QWaylandShellSurface if desired. If it's not
created, a plain QWaylandShellSurface is created instead.
It also makes the API more consistent, as the creation of shell surfaces
now mimick the creation of surfaces and xdg surfaces.
qwindow-compositor has been updated to take advantage of the new API
Change-Id: I7c7262dd253dc37843e8e471a4ead5f6e87b0ced
Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'tests/auto/compositor/compositor.pro')
0 files changed, 0 insertions, 0 deletions