Skip to content

Commit c78805d

Browse files
committed
Revert fix for multi-clicks in Tracker
Reverts part of 8d0464e. That fix resulted in menus collapsing as soon as the mouse is moved. Reverting this part fixes this, at the cost of double-clicks not working in Tracker. Until fixed, this is acceptable, because you can just hit ENTER to open a selected file. And ALT+CTRL+H hide a window, same as a double-click on a window tab. Fixes #3 Reopens #1
1 parent be1e93c commit c78805d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/AboutHelpWin.cpp

100755100644
File mode changed.

src/KeyCursorDevice.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ KeyCursorDevice::ProcessMessage(int32 what, int32 data)
263263

264264
case BUTTON_UP:
265265
{
266+
fClickedButton = 0;
267+
fLastClick = 0;
268+
fClickCount = 0;
269+
266270
BMessage* event = new BMessage(B_MOUSE_UP);
267271
event->AddInt64("when", now);
268272
event->AddInt32("x", 0);

0 commit comments

Comments
 (0)