From 8ecc557ab0770b2a890ff956c27ea9f5877873f3 Mon Sep 17 00:00:00 2001
From: Simon Ser <contact@emersion.fr>
Date: Mon, 22 Mar 2021 19:45:36 +0100
Subject: subsurface: use cached surface state

---
 include/wlr/types/wlr_surface.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'include')

diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h
index b44e50f5..b3ff905c 100644
--- a/include/wlr/types/wlr_surface.h
+++ b/include/wlr/types/wlr_surface.h
@@ -162,7 +162,7 @@ struct wlr_subsurface {
 
 	struct wlr_subsurface_state current, pending;
 
-	struct wlr_surface_state cached;
+	uint32_t cached_seq;
 	bool has_cache;
 
 	bool synchronized;
-- 
cgit v1.2.3