desktop-shell: Port to libweston-desktop

All the shell protocol details, Xwayland glue and popups (and their
grab) are now handled in libweston-desktop.
Fullscreen methods (for wl_shell) are removed for now.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
Acked-by: Giulio Camuffo <giulio.camuffo@kdab.com>

Differential Revision: https://phabricator.freedesktop.org/D1209
This commit is contained in:
Quentin Glidic
2016-08-12 10:41:36 +02:00
parent 955cec06c7
commit 8f9d90a84b
5 changed files with 614 additions and 2506 deletions
+598 -2476
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -28,6 +28,7 @@
#include <time.h>
#include "compositor.h"
#include "xwayland/xwayland-api.h"
#include "weston-desktop-shell-server-protocol.h"
@@ -123,8 +124,11 @@ struct shell_output {
struct wl_listener background_surface_listener;
};
struct weston_desktop;
struct desktop_shell {
struct weston_compositor *compositor;
struct weston_desktop *desktop;
const struct weston_xwayland_surface_api *xwayland_surface_api;
struct wl_listener idle_listener;
struct wl_listener wake_listener;