* 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:
parent
e1b526b95a
commit
18ebc7918d
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user