From 394accbe4a4186bba273790bca8cef54d9be21ca Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Wed, 3 May 2023 23:48:36 -0400 Subject: wlr_compositer: Keep track if surface has committed a buffer before. This would break if you are running with a NULL renderer. --- include/wlr/types/wlr_compositor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index e4ac7879..3c4f5a4b 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -163,6 +163,7 @@ struct wlr_surface { } previous; bool opaque; + bool has_buffer; int32_t preferred_buffer_scale; bool preferred_buffer_transform_sent; -- cgit v1.2.3