From d5f98dbf61e3627f46c499a2ecac0e581241299b Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Tue, 15 Aug 2017 08:17:17 -0400 Subject: refactor getting surface size into a function --- include/wlr/types/wlr_surface.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 6dbee113..811097ad 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -25,6 +25,8 @@ struct wlr_surface_state { pixman_region32_t opaque, input; enum wl_output_transform transform; int32_t scale; + int width, height; + int buffer_width, buffer_height; }; struct wlr_surface { -- cgit v1.2.3