Follow-up from "Xwayland: Implement linux_dmabuf v4 feedback support"
The following discussion from !818 (merged) should be addressed:
-
@ofourdan started a discussion: (+2 comments) If that assertion fails, that would qualify as a bug in the compositors rather than Xwayland, wouldn't it?
If so, I'd rather have this function handle the case nicely rather than aborting Xwayland entirely.
Besides, I think
assert()
should not be used to validate data from the compositor, as this can be disabled withNDEBUG
at compile time.