aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-25 23:35:02 +0100
committeremersion <contact@emersion.fr>2018-07-04 19:12:17 +0100
commit233bfe2f4f7859fa293a33a5b4022eaae7eb6cb3 (patch)
tree8e64ea88124ba02669ca707943f4a418a4e0a850 /include
parentadf0423f7cc2758f5c0958038d5b937f531f22d6 (diff)
downloadwlroots-233bfe2f4f7859fa293a33a5b4022eaae7eb6cb3.tar.xz
surface: do not monkey-patch state damage
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_surface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h
index ad1ee6f6..fdfc716d 100644
--- a/include/wlr/types/wlr_surface.h
+++ b/include/wlr/types/wlr_surface.h
@@ -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;
};