Avoid sending a configure event when starting interactive move
There's nothing to configure that needs an acknowledgement from the client.
This commit is contained in:
parent
feaebcf81d
commit
457e9faaa1
1 changed files with 5 additions and 4 deletions
|
@ -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…
Reference in a new issue