* Temporary commit to be able to test new focus behaviour, see #7280.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41264 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2011-04-18 20:15:46 +00:00
parent e1b526b95a
commit 18ebc7918d

View File

@ -1866,14 +1866,14 @@ Desktop::SetFocusWindow(Window* focus)
return;
}
uint32 list = fCurrentWorkspace;
uint32 list = /*fCurrentWorkspace;
if (fSettings->FocusFollowsMouse())
list = kFocusList;
list = */kFocusList;
if (focus == NULL || hasModal || hasWindowScreen) {
if (!fSettings->FocusFollowsMouse())
/*if (!fSettings->FocusFollowsMouse())
focus = CurrentWindows().LastWindow();
else
else*/
focus = fFocusList.LastWindow();
}