mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
Ticket #4016: (panel_mouse_callback): prevent run/open files with double right click.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
3c95e6d64c
commit
7b187676c4
@ -3898,7 +3898,7 @@ panel_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
|
||||
break;
|
||||
|
||||
case MSG_MOUSE_CLICK:
|
||||
if ((event->count & GPM_DOUBLE) != 0)
|
||||
if ((event->count & GPM_DOUBLE) != 0 && (event->buttons & GPM_B_LEFT) != 0)
|
||||
{
|
||||
int y, lines;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user