mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-17 06:59:43 -05:00
refactor getting surface size into a function
This commit is contained in:
parent
4f2b1cc930
commit
d5f98dbf61
2 changed files with 17 additions and 17 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue