summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2016-03-23 13:50:49 +0100
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2016-05-03 15:45:24 +0300
commit5c20195e7a4b3a32216c13814e3c7c64b4f6a438 (patch)
tree2acf5d98830b58246371120794e03f8efa52e292 /src
parentaa258985e91416456b55de8b60620cc1554ffb6e (diff)
downloadweston-5c20195e7a4b3a32216c13814e3c7c64b4f6a438.tar.gz
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>
Diffstat (limited to 'src')
-rw-r--r--src/compositor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor.h b/src/compositor.h
index cb9df007..a95f05de 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -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 {