Skip to content

Commit

Permalink
Revert fix for multi-clicks in Tracker
Browse files Browse the repository at this point in the history
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
  • Loading branch information
humdingerb committed Dec 22, 2023
1 parent be1e93c commit c78805d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Empty file modified src/AboutHelpWin.cpp
100755 → 100644
Empty file.
4 changes: 4 additions & 0 deletions src/KeyCursorDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ KeyCursorDevice::ProcessMessage(int32 what, int32 data)

case BUTTON_UP:
{
fClickedButton = 0;
fLastClick = 0;
fClickCount = 0;

BMessage* event = new BMessage(B_MOUSE_UP);
event->AddInt64("when", now);
event->AddInt32("x", 0);
Expand Down

0 comments on commit c78805d

Please sign in to comment.