* 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:
@@ -1866,14 +1866,14 @@ Desktop::SetFocusWindow(Window* focus)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 list = fCurrentWorkspace;
|
uint32 list = /*fCurrentWorkspace;
|
||||||
if (fSettings->FocusFollowsMouse())
|
if (fSettings->FocusFollowsMouse())
|
||||||
list = kFocusList;
|
list = */kFocusList;
|
||||||
|
|
||||||
if (focus == NULL || hasModal || hasWindowScreen) {
|
if (focus == NULL || hasModal || hasWindowScreen) {
|
||||||
if (!fSettings->FocusFollowsMouse())
|
/*if (!fSettings->FocusFollowsMouse())
|
||||||
focus = CurrentWindows().LastWindow();
|
focus = CurrentWindows().LastWindow();
|
||||||
else
|
else*/
|
||||||
focus = fFocusList.LastWindow();
|
focus = fFocusList.LastWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user