From 43734f7c6286ede7fbfe9a20e6b95fe7207dcc50 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 12 Dec 2023 11:29:50 +0100 Subject: compositor: fix wlr_surface_has_buffer() doc comment The function does not check whether the upload succeeded: it does not check the wlr_client_buffer. --- include/wlr/types/wlr_compositor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index a4de7928..95128ea7 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -278,8 +278,8 @@ void wlr_surface_unmap(struct wlr_surface *surface); /** * Whether or not this surface currently has an attached buffer. A surface has * an attached buffer when it commits with a non-null buffer in its pending - * state. A surface will not have a buffer if it has never committed one, has - * committed a null buffer, or something went wrong with uploading the buffer. + * state. A surface will not have a buffer if it has never committed one or has + * committed a null buffer. */ bool wlr_surface_has_buffer(struct wlr_surface *surface); -- cgit v1.2.3