xdg-shell: update reported size on ack_configure
This commit is contained in:
parent
14195835ef
commit
8dd02eb5f3
6 changed files with 29 additions and 9 deletions
|
|
@ -185,6 +185,7 @@ class CWindow {
|
|||
DYNLISTENER(setOverrideRedirect);
|
||||
DYNLISTENER(associateX11);
|
||||
DYNLISTENER(dissociateX11);
|
||||
DYNLISTENER(ackConfigure);
|
||||
// DYNLISTENER(newSubsurfaceWindow);
|
||||
|
||||
CWLSurface m_pWLSurface;
|
||||
|
|
@ -204,9 +205,11 @@ class CWindow {
|
|||
CAnimatedVariable m_vRealSize;
|
||||
|
||||
// for not spamming the protocols
|
||||
Vector2D m_vReportedPosition;
|
||||
Vector2D m_vReportedSize;
|
||||
Vector2D m_vPendingReportedSize;
|
||||
Vector2D m_vReportedPosition;
|
||||
Vector2D m_vReportedSize;
|
||||
Vector2D m_vPendingReportedSize;
|
||||
bool m_bPendingSizeAcked = false;
|
||||
std::optional<uint32_t> m_iPendingSizeAck;
|
||||
|
||||
// for restoring floating statuses
|
||||
Vector2D m_vLastFloatingSize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue