From 4d2e31012207a56b3345039ecd2637fe46654993 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Sat, 7 Oct 2023 13:17:34 +0300 Subject: compositor: add wlr_surface.unmap_commit This flag can be used to figure out whether a particular commit has unmapped the surface. Private state for now in case we find a better way to track this. --- include/wlr/types/wlr_compositor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index d67ce1c3..53e663fd 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -211,6 +211,8 @@ struct wlr_surface { int buffer_width, buffer_height; } previous; + bool unmap_commit; + bool opaque; bool has_buffer; -- cgit v1.2.3