aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-12-12 11:29:50 +0100
committerSimon Ser <contact@emersion.fr>2023-12-25 11:47:14 +0100
commit43734f7c6286ede7fbfe9a20e6b95fe7207dcc50 (patch)
tree002a04732fbb51b239bb988d5d7d4326ee52a565 /include
parent66b6c349e7be0d9e459459a88cf12a290bc14b3c (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_compositor.h4
1 files changed, 2 insertions, 2 deletions
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);