diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-08-12 10:41:36 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-08-14 09:29:08 +0200 |
commit | 8f9d90a84bb2888b074fea93c4a28778bc6439c6 (patch) | |
tree | fa212b2f054ba28ec3a04741f4f5c141fcac8249 /libweston | |
parent | 955cec06c74a516a066bb88d42641eddebd7074a (diff) |
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
Diffstat (limited to 'libweston')
-rw-r--r-- | libweston/compositor.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/libweston/compositor.h b/libweston/compositor.h index beda341d..26667cac 100644 --- a/libweston/compositor.h +++ b/libweston/compositor.h @@ -100,38 +100,9 @@ struct weston_mode { struct wl_list link; }; -struct weston_shell_client { - void (*send_configure)(struct weston_surface *surface, int32_t width, int32_t height); - void (*send_position)(struct weston_surface *surface, int32_t x, int32_t y); -}; - struct weston_shell_interface { void *shell; /* either desktop or tablet */ - struct shell_surface *(*create_shell_surface)(void *shell, - struct weston_surface *surface, - const struct weston_shell_client *client); - void (*set_toplevel)(struct shell_surface *shsurf); - - void (*set_transient)(struct shell_surface *shsurf, - struct weston_surface *parent, - int x, int y, uint32_t flags); - void (*set_fullscreen)(struct shell_surface *shsurf, - uint32_t method, - uint32_t framerate, - struct weston_output *output); - void (*set_xwayland)(struct shell_surface *shsurf, - int x, int y, uint32_t flags); - int (*move)(struct shell_surface *shsurf, struct weston_pointer *pointer); - int (*resize)(struct shell_surface *shsurf, - struct weston_pointer *pointer, uint32_t edges); - void (*set_title)(struct shell_surface *shsurf, - const char *title); - void (*set_window_geometry)(struct shell_surface *shsurf, - int32_t x, int32_t y, - int32_t width, int32_t height); - void (*set_maximized)(struct shell_surface *shsurf); - void (*set_pid)(struct shell_surface *shsurf, pid_t pid); void (*get_output_work_area)(void *shell, struct weston_output *output, pixman_rectangle32_t *area); }; |