Drop X11Window::resizeDecoration()

We can call updateInputWindow() directly.
This commit is contained in:
Vlad Zahorodnii 2024-06-13 23:16:05 +03:00
parent a7c4175099
commit 5d03d58dc1
2 changed files with 1 additions and 7 deletions

View file

@ -1466,11 +1466,6 @@ void X11Window::setClientFrameExtents(const NETStrut &strut)
moveResize(moveResizeGeometry());
}
void X11Window::resizeDecoration()
{
updateInputWindow();
}
bool X11Window::userNoBorder() const
{
return noborder;
@ -4390,7 +4385,7 @@ void X11Window::updateServerGeometry()
const QRectF clientRect = m_clientGeometry.translated(-m_bufferGeometry.topLeft());
if (oldBufferGeometry.size() != m_bufferGeometry.size() || oldClientRect != clientRect) {
resizeDecoration();
updateInputWindow();
// If the client is being interactively resized, then the frame window, the wrapper window,
// and the client window have correct geometry at this point, so we don't have to configure
// them again.

View file

@ -394,7 +394,6 @@ private:
void performInteractiveResize();
void establishCommandWindowGrab(uint8_t button);
void establishCommandAllGrab(uint8_t button);
void resizeDecoration();
void pingWindow();
void killProcess(bool ask, xcb_timestamp_t timestamp = XCB_TIME_CURRENT_TIME);