aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-11-07 20:00:44 +0300
committerAlexander Orzechowski <alex@ozal.ski>2022-11-24 22:28:13 +0000
commit060df4c6c0f92e3989ce6fa13e5862bb3bee7dae (patch)
treeb3e7693168dd20380a56fe7fd478627fb3e47cc3 /include
parent42016fa262815c6f1f3513a7cd4d4717b162469c (diff)
scene: introduce wlr_scene_buffer.events.outputs_update
This event is useful for e.g. sending the preferred buffer scale to the client.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_scene.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h
index e45a3ee0..e3e56cf7 100644
--- a/include/wlr/types/wlr_scene.h
+++ b/include/wlr/types/wlr_scene.h
@@ -131,6 +131,7 @@ struct wlr_scene_buffer {
struct wlr_buffer *buffer;
struct {
+ struct wl_signal outputs_update;
struct wl_signal output_enter; // struct wlr_scene_output
struct wl_signal output_leave; // struct wlr_scene_output
struct wl_signal output_present; // struct wlr_scene_output