diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-08-15 08:17:17 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-08-15 08:22:22 -0400 |
commit | d5f98dbf61e3627f46c499a2ecac0e581241299b (patch) | |
tree | 56847c7d36a6e361f6a84a56063f9a4cb1819703 /include/wlr | |
parent | 4f2b1cc930b3f805358571e809ccba4bf6d6272c (diff) |
refactor getting surface size into a function
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_surface.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |