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.
1 parent cb6f645 commit 897dd84Copy full SHA for 897dd84
lib/DragDropAction.vala
@@ -229,7 +229,7 @@ namespace Gala {
229
230
// release has happened within bounds of actor
231
if (clicked && x < ex && x + actor.width > ex && y < ey && y + actor.height > ey) {
232
- actor_clicked (event.get_button ());
+ actor_clicked (event.get_type () == BUTTON_RELEASE ? event.get_button () : Clutter.Button.PRIMARY);
233
}
234
235
if (clicked) {
0 commit comments