compositor.h: Add shell_interface.get_output_work_area
This will allow plugins to be aware of e.g. panels, to avoid covering them with other surfaces. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
committed by
Pekka Paalanen
parent
aa258985e9
commit
5c20195e7a
@@ -116,6 +116,7 @@ struct weston_shell_interface {
|
||||
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);
|
||||
};
|
||||
|
||||
struct weston_animation {
|
||||
|
||||
Reference in New Issue
Block a user