mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Fix drag sometimes starting from wrong button
This commit is contained in:
@@ -149,6 +149,8 @@ var App = GObject.registerClass({
|
|||||||
let [res, button] = event.get_button();
|
let [res, button] = event.get_button();
|
||||||
if(!res) return;
|
if(!res) return;
|
||||||
|
|
||||||
|
this.dragStartReady = false;
|
||||||
|
|
||||||
switch(button) {
|
switch(button) {
|
||||||
case Gdk.BUTTON_PRIMARY:
|
case Gdk.BUTTON_PRIMARY:
|
||||||
this._handlePrimaryButtonPress(event, button);
|
this._handlePrimaryButtonPress(event, button);
|
||||||
|
Reference in New Issue
Block a user