From a1990e9cc5c447cd7fd7b82f1d11f392c98a045c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 24 Nov 2016 09:36:18 +0100 Subject: [PATCH] [server] Fix regression in SeatInterface::end/cancelPointerPinchGesture Regression with c72510c932d4fe058741dc4b1f149dd76be1b7fa which removed a needed source code line. Thanks build.kde.org! --- src/wayland/seat_interface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wayland/seat_interface.cpp b/src/wayland/seat_interface.cpp index 9275885e66..3b179821d5 100644 --- a/src/wayland/seat_interface.cpp +++ b/src/wayland/seat_interface.cpp @@ -995,6 +995,7 @@ void SeatInterface::endPointerPinchGesture() p->d_func()->endPinchGesture(serial); } ); + d->globalPointer.gestureSurface.clear(); } void SeatInterface::cancelPointerPinchGesture() @@ -1009,6 +1010,7 @@ void SeatInterface::cancelPointerPinchGesture() p->d_func()->cancelPinchGesture(serial); } ); + d->globalPointer.gestureSurface.clear(); } void SeatInterface::keyPressed(quint32 key)