We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d03cd1b + 897dd84 commit 8ebe29bCopy full SHA for 8ebe29b
lib/DragDropAction.vala
@@ -290,7 +290,7 @@ namespace Gala {
290
291
// release has happened within bounds of actor
292
if (clicked && x < ex && x + actor.width > ex && y < ey && y + actor.height > ey) {
293
- actor_clicked (event.get_button ());
+ actor_clicked (event.get_type () == BUTTON_RELEASE ? event.get_button () : Clutter.Button.PRIMARY);
294
}
295
296
if (clicked) {
0 commit comments