Skip to content

Commit 96d51aa

Browse files
committed
fix double click crash on vertical tab
1 parent c0ba40d commit 96d51aa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/tabbookmark.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,7 @@ bool TabBookmarkMouseHandler(WPARAM wParam, LPARAM lParam) {
314314
return false;
315315
case WM_LBUTTONDBLCLK:
316316
if (HandleDoubleClick(pmouse)) {
317-
// Do not return true. Returning true could cause the keep_tab to fail
318-
// or trigger double-click operations consecutively when the user
319-
// double-clicks on the tab page rapidly and repeatedly.
317+
return true;
320318
}
321319
return false;
322320
case WM_MBUTTONUP:

0 commit comments

Comments
 (0)