Avoid sending a configure event when starting interactive move

There's nothing to configure that needs an acknowledgement from the
client.
master
Vlad Zahorodnii 3 years ago
parent feaebcf81d
commit 457e9faaa1

@ -1007,16 +1007,17 @@ bool XdgToplevelClient::doStartInteractiveMoveResize()
{
if (interactiveMoveResizePointerMode() != PositionCenter) {
m_nextStates |= XdgToplevelInterface::State::Resizing;
scheduleConfigure();
}
scheduleConfigure();
return true;
}
void XdgToplevelClient::doFinishInteractiveMoveResize()
{
m_nextStates &= ~XdgToplevelInterface::State::Resizing;
scheduleConfigure();
if (m_nextStates & XdgToplevelInterface::State::Resizing) {
m_nextStates &= ~XdgToplevelInterface::State::Resizing;
scheduleConfigure();
}
}
bool XdgToplevelClient::takeFocus()

Loading…
Cancel
Save