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 <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
nephele nephele
parent
f45785201d
commit
605a1f4f4e
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user