[FarGroup/FarManager] master: gh-1066: Remove messing with cursor state from VMenu2 (8dc629f7e)

1 view
Skip to first unread message

farg...@farmanager.com

unread,
Jan 21, 2026, 5:01:26 PMJan 21
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/8dc629f7ecd4a740436b4f31ac11231c9b09bc9c

>---------------------------------------------------------------

commit 8dc629f7ecd4a740436b4f31ac11231c9b09bc9c
Author: Alex Alabuzhev <alab...@gmail.com>
Date: Wed Jan 21 21:58:04 2026 +0000

gh-1066: Remove messing with cursor state from VMenu2


>---------------------------------------------------------------

8dc629f7ecd4a740436b4f31ac11231c9b09bc9c
far/vmenu2.cpp | 10 ----------
1 file changed, 10 deletions(-)

diff --git a/far/vmenu2.cpp b/far/vmenu2.cpp
index ff94d2011..82811dbe0 100644
--- a/far/vmenu2.cpp
+++ b/far/vmenu2.cpp
@@ -187,21 +187,11 @@ int VMenu2::Call(int Msg, void *param)
++InsideCall;
const auto r = mfn(Msg, param);

- bool Visible;
- size_t Size;
-
- GetCursorType(Visible, Size);
- const auto CursorPos = GetCursorPos();
-
--InsideCall;

if(NeedResize)
Resize();

-
- SetCursorType(Visible, Size);
- MoveCursor(CursorPos);
-
if(InsideCall==0 && ListBox().UpdateRequired())
SendMessage(DM_REDRAW, 0, nullptr);



Reply all
Reply to author
Forward
0 new messages