compositor: properly set infinite region on null input

fixes #11065
This commit is contained in:
Vaxry 2025-07-17 22:04:14 +02:00
parent b46dc9ee0c
commit a05c797e4a
No known key found for this signature in database
GPG key ID: 665806380871D640
2 changed files with 7 additions and 7 deletions

View file

@ -219,7 +219,7 @@ CWLSurfaceResource::CWLSurfaceResource(SP<CWlSurface> resource_) : m_resource(re
m_pending.updated.bits.input = true;
if (!region) {
m_pending.input = CBox{{}, m_pending.bufferSize};
m_pending.input = CBox{{}, Vector2D{INT32_MAX - 1, INT32_MAX - 1}};
return;
}