From 2333d8fc1cc9092767e6ac9e0a0b2fd56efd3691 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Wed, 2 Sep 2020 09:06:34 +0200 Subject: [PATCH] Fix drag sometimes starting from wrong button --- clapper_src/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clapper_src/app.js b/clapper_src/app.js index 3b720389..dd9fc843 100644 --- a/clapper_src/app.js +++ b/clapper_src/app.js @@ -149,6 +149,8 @@ var App = GObject.registerClass({ let [res, button] = event.get_button(); if(!res) return; + this.dragStartReady = false; + switch(button) { case Gdk.BUTTON_PRIMARY: this._handlePrimaryButtonPress(event, button);