x11window: Don't send a final ConfigureNotify event in leaveInteractiveMoveResize()

With 74eb0d8, ConfigureNotify events are always sent when moving windows. It's no longer necessary
to send a final ConfigureNotify event after a window is moved.
This commit is contained in:
Zhiyi Zhang 2022-11-07 21:09:09 +08:00
parent 74eb0d861b
commit 68d1ee8f08

View file

@ -4664,9 +4664,6 @@ bool X11Window::doStartInteractiveMoveResize()
void X11Window::leaveInteractiveMoveResize()
{
if (!isInteractiveResize()) {
sendSyntheticConfigureNotify(); // tell the client about it's new final position
}
if (kwinApp()->operationMode() == Application::OperationModeX11) {
if (move_resize_has_keyboard_grab) {
ungrabXKeyboard();