aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2022-12-11 23:51:57 -0500
committerAlexander Orzechowski <alex@ozal.ski>2023-01-04 04:24:17 -0500
commit84aee1d70817c71fb211a3afeae92f383fc48c93 (patch)
tree2bd41535fb4495a7c24e0a43c1f159d5b3cc78d4
parente0b2bf2a6b8699ac75973702a791efe5af8d421e (diff)
subcompositor: Clarify comment on subsurface mapped consideration
-rw-r--r--types/wlr_subcompositor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/types/wlr_subcompositor.c b/types/wlr_subcompositor.c
index 0b0c935c..75c928f8 100644
--- a/types/wlr_subcompositor.c
+++ b/types/wlr_subcompositor.c
@@ -187,7 +187,8 @@ static const struct wl_subsurface_interface subsurface_implementation = {
};
/**
- * Checks if this subsurface needs to be marked as mapped. This can happen if:
+ * Checks if this subsurface needs to be marked as mapped. The subsurface
+ * is considered mapped if both:
* - The subsurface has a buffer
* - Its parent is mapped
*/