Skip to content

Commit 3130efa

Browse files
authored
Merge branch 'main' into lenemter/add-hide-delay
2 parents 594646a + 897dd84 commit 3130efa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/DragDropAction.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ namespace Gala {
229229

230230
// release has happened within bounds of actor
231231
if (clicked && x < ex && x + actor.width > ex && y < ey && y + actor.height > ey) {
232-
actor_clicked (event.get_button ());
232+
actor_clicked (event.get_type () == BUTTON_RELEASE ? event.get_button () : Clutter.Button.PRIMARY);
233233
}
234234

235235
if (clicked) {

0 commit comments

Comments
 (0)