refactor getting surface size into a function

This commit is contained in:
Tony Crisci 2017-08-15 08:17:17 -04:00
parent 4f2b1cc930
commit d5f98dbf61
2 changed files with 17 additions and 17 deletions

View file

@ -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 {