diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-11-10 00:13:22 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-11-10 00:13:22 +0000 |
| commit | b8a615ffb892aaa35a15dc732208bb7ad2a60209 (patch) | |
| tree | 28dfd657e44968e654bc2d64ccb4ebfe48921580 /src/Window.hpp | |
| parent | 8dd02eb5f3d47ce67a33c836ea6d648bd6967962 (diff) | |
xdg-shell: improve ack-configure handling
fixes #3807
Diffstat (limited to 'src/Window.hpp')
| -rw-r--r-- | src/Window.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Window.hpp b/src/Window.hpp index 915cf018..580b0a2a 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -205,11 +205,11 @@ class CWindow { CAnimatedVariable m_vRealSize; // for not spamming the protocols - Vector2D m_vReportedPosition; - Vector2D m_vReportedSize; - Vector2D m_vPendingReportedSize; - bool m_bPendingSizeAcked = false; - std::optional<uint32_t> m_iPendingSizeAck; + Vector2D m_vReportedPosition; + Vector2D m_vReportedSize; + Vector2D m_vPendingReportedSize; + std::optional<std::pair<uint32_t, Vector2D>> m_pPendingSizeAck; + std::vector<std::pair<uint32_t, Vector2D>> m_vPendingSizeAcks; // for restoring floating statuses Vector2D m_vLastFloatingSize; |
