diff options
author | 2017-12-12 19:40:17 +0100 | |
---|---|---|
committer | 2017-12-12 19:40:17 +0100 | |
commit | f3d880b0ec9eae246ef0d70dd67bed6d7488ab33 (patch) | |
tree | 3933dbb575826d49ddce5cf3ffa25c45910d29d9 /include/sway | |
parent | Use custom modes when output has no mode (diff) | |
download | sway-f3d880b0ec9eae246ef0d70dd67bed6d7488ab33.tar.gz sway-f3d880b0ec9eae246ef0d70dd67bed6d7488ab33.tar.zst sway-f3d880b0ec9eae246ef0d70dd67bed6d7488ab33.zip |
Add scale and transform events to sway_output
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/output.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 895cb07d..11869398 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -12,8 +12,16 @@ struct sway_output { | |||
12 | struct sway_container *swayc; | 12 | struct sway_container *swayc; |
13 | struct sway_server *server; | 13 | struct sway_server *server; |
14 | struct timespec last_frame; | 14 | struct timespec last_frame; |
15 | |||
16 | struct { | ||
17 | struct wl_signal scale; | ||
18 | struct wl_signal transform; | ||
19 | } events; | ||
20 | |||
15 | struct wl_listener frame; | 21 | struct wl_listener frame; |
16 | struct wl_listener resolution; | 22 | struct wl_listener resolution; |
23 | struct wl_listener scale; | ||
24 | struct wl_listener transform; | ||
17 | }; | 25 | }; |
18 | 26 | ||
19 | #endif | 27 | #endif |