Skip to content

Commit

Permalink
1. ошибочная посылка DN_CONTROLINPUT с Param1=-1 на любое передвижени…
Browse files Browse the repository at this point in the history
…е мыши, если в первый раз вернули TRUE.
  • Loading branch information
zg0 committed Sep 30, 2017
1 parent 554765c commit 7596eec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions far/changelog
@@ -1,3 +1,7 @@
zg 01.10.2017 00:05:03 +0300 - build 5053

1. ошибочная посылка DN_CONTROLINPUT с Param1=-1 на любое передвижение мыши, если в первый раз вернули TRUE.

zg 30.09.2017 23:33:20 +0300 - build 5052

1. уточнение 5050.1: lua: Keys"F7 Tab" Dlg.SetFocus(3) win.Sleep(200) Keys"Esc"
Expand Down
5 changes: 5 additions & 0 deletions far/dialog.cpp
Expand Up @@ -3238,6 +3238,11 @@ bool Dialog::ProcessMouse(const MOUSE_EVENT_RECORD *MouseEvent)
else if (!(mouse.Event.MouseEvent.dwButtonState & RIGHTMOST_BUTTON_PRESSED) && (IntKeyState.PrevMouseButtonState&RIGHTMOST_BUTTON_PRESSED) && (Global->Opt->Dialogs.MouseButton&DMOUSEBUTTON_RIGHT))
ProcessKey(Manager::Key(KEY_ENTER));
}
else if (DialogMode.Check(DMODE_CLICKOUTSIDE))
{
DialogMode.Clear(DMODE_CLICKOUTSIDE);
return true;
}

if (mouse.Event.MouseEvent.dwButtonState)
DialogMode.Set(DMODE_CLICKOUTSIDE);
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,5052)m4_dnl
m4_define(BUILD,5053)m4_dnl

0 comments on commit 7596eec

Please sign in to comment.