Oversight: When FFM is turned off, don't focus the window under the mouse

on mouse up if there was a focus-locked window.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28483 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-11-03 19:57:05 +00:00
parent 2644e08b78
commit 40fa49e7b8

View File

@ -760,7 +760,8 @@ Desktop::SetLastMouseState(const BPoint& position, int32 buttons,
if (fLastMouseButtons == 0 && fLockedFocusWindow) {
fLockedFocusWindow = NULL;
SetFocusWindow(windowUnderMouse);
if (fSettings->FocusFollowsMouse())
SetFocusWindow(windowUnderMouse);
}
}