diff --git a/abstract_client.cpp b/abstract_client.cpp index 6183fd316b..93593db45c 100644 --- a/abstract_client.cpp +++ b/abstract_client.cpp @@ -85,6 +85,10 @@ AbstractClient::AbstractClient() } ); + connect(this, &AbstractClient::paddingChanged, this, [this]() { + m_visibleRectBeforeGeometryUpdate = visibleRect(); + }); + connect(ApplicationMenu::self(), &ApplicationMenu::applicationMenuEnabledChanged, this, [this] { emit hasApplicationMenuChanged(hasApplicationMenu()); });