subcompositor: Clarify comment on subsurface mapped consideration

This commit is contained in:
Alexander Orzechowski 2022-12-11 23:51:57 -05:00
parent e0b2bf2a6b
commit 84aee1d708
1 changed files with 2 additions and 1 deletions

View File

@ -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
*/