Skip to content

Commit

Permalink
Claim button press gesture on secondary click
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypw committed Sep 18, 2024
1 parent b06fc80 commit 907afd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/View/AbstractDirectoryView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -3573,6 +3573,10 @@ namespace Files {
break;

case Gdk.BUTTON_SECONDARY: // button 3
// No native behaviours on secondary click that we want
// ListView will cause unwanted deselections otherwise.
button_controller.set_state (CLAIMED);

switch (click_zone) {
case ClickZone.BLANK_NO_PATH:
case ClickZone.INVALID:
Expand Down

0 comments on commit 907afd1

Please sign in to comment.