Ticket #4016 (closed enhancement: fixed)
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
Change History
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.
comment:3 Changed 5 years ago by andrew_b
- Status changed from new to accepted
- Owner set to andrew_b
- 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
Merged to master: [0ef1737aa84c7511bdfb87373de9ccb3f18931b5].
Note: See
TracTickets for help on using
tickets.