From 1f799c1cbd8f9bbb120e7d7d436f161b96d66d92 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 26 Dec 2019 16:12:06 +0100 Subject: 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 --- include/wlr/types/wlr_xdg_output_v1.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 { -- cgit v1.2.3