diff --git a/dragndrop/SConstruct b/dragndrop/SConstruct index c33e577..c8cf972 100644 --- a/dragndrop/SConstruct +++ b/dragndrop/SConstruct @@ -9,7 +9,7 @@ from parts import * SetOptionDefault('COMPANY_NAME', 'Eugene Leskinen') SetOptionDefault('PRODUCT_NAME', 'Drag & drop plug-in for FAR manage') SetOptionDefault('LEGAL_COPYRIGHT', '2005-2016 Eugene Leskinen') -SetOptionDefault('PRODUCT_VERSION_STRING', '2.0.0.77') +SetOptionDefault('PRODUCT_VERSION_STRING', '2.0.0.78') # Enable smart logging SetOptionDefault('LOGGER', '$TEXT_LOGGER') diff --git a/dragndrop/plugin/src/inpprcsr.cpp b/dragndrop/plugin/src/inpprcsr.cpp index 94da89e..36666e9 100644 --- a/dragndrop/plugin/src/inpprcsr.cpp +++ b/dragndrop/plugin/src/inpprcsr.cpp @@ -192,7 +192,13 @@ bool InputProcessor::checkMouseAndShowPopupMenu(INPUT_RECORD& record) _left = 0; } - if (record.Event.MouseEvent.dwButtonState & RIGHTMOST_BUTTON_PRESSED) + // If we are not going to show the pop-up menu don't change dwButtonState. + if (!Config::instance()->showMenu()) + { + return false; + } + + if (record.Event.MouseEvent.dwButtonState & RIGHTMOST_BUTTON_PRESSED) { _right++; if (!_left)