aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-26 16:12:06 +0100
committerBrian Ashworth <bosrsf04@gmail.com>2019-12-29 12:35:22 -0500
commit1f799c1cbd8f9bbb120e7d7d436f161b96d66d92 (patch)
tree9f1d6204965c6cdb0ef6e4143f0078131646dec7 /include/wlr
parent4da4a15d6bfa8d4b92d1ac4605ea78893da3fab0 (diff)
xdg-output-v1: use wlr_output.description
Since [1], the xdg-output description is mutable. Listen to output description changes and send the new output description when updated. [1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/commit/048102f21ad3783f64c4996704b07a13a010fd19
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_xdg_output_v1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_xdg_output_v1.h b/include/wlr/types/wlr_xdg_output_v1.h
index 02cbd60d..340252dd 100644
--- a/include/wlr/types/wlr_xdg_output_v1.h
+++ b/include/wlr/types/wlr_xdg_output_v1.h
@@ -22,6 +22,7 @@ struct wlr_xdg_output_v1 {
int32_t width, height;
struct wl_listener destroy;
+ struct wl_listener description;
};
struct wlr_xdg_output_manager_v1 {