From 84aee1d70817c71fb211a3afeae92f383fc48c93 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Sun, 11 Dec 2022 23:51:57 -0500 Subject: [PATCH] subcompositor: Clarify comment on subsurface mapped consideration --- types/wlr_subcompositor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */