diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-07-17 22:04:14 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-07-17 22:04:20 +0200 |
| commit | a05c797e4a7b32f933569aec6cfba180bc693528 (patch) | |
| tree | f08f9d6b3fc5edf089d2908ad7a07a93d9b858c9 /src/protocols/core | |
| parent | b46dc9ee0c62ad825f79511dd2b4aaeffc274048 (diff) | |
compositor: properly set infinite region on null input
fixes #11065
Diffstat (limited to 'src/protocols/core')
| -rw-r--r-- | src/protocols/core/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/core/Compositor.cpp b/src/protocols/core/Compositor.cpp index 21f9e0a7..5efe020c 100644 --- a/src/protocols/core/Compositor.cpp +++ b/src/protocols/core/Compositor.cpp @@ -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; } |
