mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-16 06:59:44 -05:00
surface: do not monkey-patch state damage
This commit is contained in:
parent
adf0423f7c
commit
233bfe2f4f
3 changed files with 89 additions and 90 deletions
|
|
@ -33,6 +33,7 @@ struct wlr_surface_state {
|
|||
int width, height; // in surface-local coordinates
|
||||
int buffer_width, buffer_height;
|
||||
int sx, sy; // in surface-local coordinates
|
||||
pixman_region32_t damage; // in buffer-local coordinates
|
||||
|
||||
struct wl_listener buffer_destroy_listener;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue