Drop X11Window::resizeDecoration()
We can call updateInputWindow() directly.
This commit is contained in:
parent
a7c4175099
commit
5d03d58dc1
2 changed files with 1 additions and 7 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue