diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-09-21 19:27:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-21 19:27:56 +0200 |
| commit | 26cbc67385d95ba621fe0a125a5b121ffdd09335 (patch) | |
| tree | 2aa7c05ce78ab4ea55e8df81f1c99553509b37b1 /src/events/Windows.cpp | |
| parent | 41dad381770300fe1015ad8cdd1f370a8fd4e5d5 (diff) | |
renderer: fix uv calculations once and for all (#11770)
fixes synchronization of ackd sizes, fixes wrong xdg stuff
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 7d3eb3eb..8f40c0e1 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -868,7 +868,8 @@ void Events::listener_commitWindow(void* owner, void* data) { if (!PWINDOW->m_isMapped || PWINDOW->isHidden()) return; - PWINDOW->m_reportedSize = PWINDOW->m_pendingReportedSize; // apply pending size. We pinged, the window ponged. + if (PWINDOW->m_isX11) + PWINDOW->m_reportedSize = PWINDOW->m_pendingReportedSize; if (!PWINDOW->m_isX11 && !PWINDOW->isFullscreen() && PWINDOW->m_isFloating) { const auto MINSIZE = PWINDOW->m_xdgSurface->m_toplevel->layoutMinSize(); |
