aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-22 16:21:26 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit47b4446227ac06b2873118717a4c868325b64162 (patch)
tree345a9c7da0e204a8ae7aac561489099a923e57df /src/wayland.hpp
parent5e8b656af6c13323f91907f38f38863da873014c (diff)
wayland: storing output mode and surface properties
The events for this are received by the controller, the data however is stored in the surface proxe wrappers. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/wayland.hpp')
-rw-r--r--src/wayland.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wayland.hpp b/src/wayland.hpp
index f58ada0..3914e38 100644
--- a/src/wayland.hpp
+++ b/src/wayland.hpp
@@ -88,6 +88,10 @@ struct registry : public wayland_proxy<struct wl_registry> {
// \___/ \__,_|\__| .__/ \__,_|\__|
// |_|
struct output : wayland_proxy<struct wl_output> {
+ int width;
+ int height;
+ int refresh;
+
output(struct wl_registry *registry, uint32_t name, uint32_t version);
// Events