Ticket #4016 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Prevent opening files with double right click

Reported by: blubbkm Owned by: andrew_b
Priority: minor Milestone: 4.8.24
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

This patch prevents the user from opening a file by double clicking with the right mouse button.

Attachments

mouse_fix.patch (473 bytes) - added by blubbkm 5 years ago.
mouse_fix2.patch (465 bytes) - added by blubbkm 5 years ago.

Change History

Changed 5 years ago by blubbkm

comment:1 Changed 5 years ago by andrew_b

Why

((event->buttons & GPM_B_RIGHT) == 0)

is used in the patch instead of

((event->buttons & GPM_B_LEFT) != 0)

?

comment:2 Changed 5 years ago by blubbkm

Because my goal was to prevent right click from opening files. But checking for left click only is a fine way to do it as well.

Changed 5 years ago by blubbkm

comment:3 Changed 5 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Milestone changed from Future Releases to 4.8.24

comment:4 Changed 5 years ago by andrew_b

  • Branch state changed from no branch to on review

Branch: 4016_panel_no_double_right_click
changeset:7b187676c4e642e45eaf2c95356fd039cef75039

comment:5 Changed 5 years ago by andrew_b

  • Votes for changeset set to andrew_b
  • Branch state changed from on review to approved

comment:6 Changed 5 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:7 Changed 5 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.