From 605a1f4f4ebe2c4fe62a3120c8d4ddf5e06ed976 Mon Sep 17 00:00:00 2001 From: Nathan Patrizi Date: Sat, 28 Mar 2026 11:48:29 +0000 Subject: [PATCH] Tracker: Prevent bringing windows to foreground when not dragging * Prevent bringing Tracker windows to the foreground when moving the mouse over them with a button held but not actually dragging a file. * Fix a regression caused by changing window->Dragging() calls to IsDragging(). Fixes #19683 Change-Id: Ife55885e72d4682b857baf4103d144f49b765693 Reviewed-on: https://review.haiku-os.org/c/haiku/+/10601 Reviewed-by: nephele nephele Reviewed-by: waddlesplash --- src/kits/tracker/PoseView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/tracker/PoseView.cpp b/src/kits/tracker/PoseView.cpp index 926c5d5944..57330f34ef 100644 --- a/src/kits/tracker/PoseView.cpp +++ b/src/kits/tracker/PoseView.cpp @@ -7391,7 +7391,7 @@ BPoseView::MouseIdle(const BMessage* message) // message but we need the buttons state anyway // and B_MOUSE_IDLE message doesn't pass it - if (buttons == 0 || IsDragging()) + if (buttons == 0 || !IsDragging()) return; if (fDropTarget != NULL) {