desktop-shell: Reject resize if we're already grabbed
This rejects resizing a window that's currently being moved. This can
be done using a touch screen and a pointer or just two seats.
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index 9340b4a..79bd65c 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -1742,6 +1742,9 @@
if (shsurf->state.fullscreen)
return;
+ if (shsurf->grabbed)
+ return;
+
if (seat->pointer->button_count == 0 ||
seat->pointer->grab_serial != serial ||
seat->pointer->focus == NULL)