[haiku-commits] r41264 - haiku/trunk/src/servers/app

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 18 Apr 2011 22:15:47 +0200 (CEST)

Author: axeld
Date: 2011-04-18 22:15:46 +0200 (Mon, 18 Apr 2011)
New Revision: 41264
Changeset: https://dev.haiku-os.org/changeset/41264
Ticket: https://dev.haiku-os.org/ticket/7280

Modified:
   haiku/trunk/src/servers/app/Desktop.cpp
Log:
* Temporary commit to be able to test new focus behaviour, see #7280.


Modified: haiku/trunk/src/servers/app/Desktop.cpp
===================================================================
--- haiku/trunk/src/servers/app/Desktop.cpp     2011-04-18 11:27:43 UTC (rev 
41263)
+++ haiku/trunk/src/servers/app/Desktop.cpp     2011-04-18 20:15:46 UTC (rev 
41264)
@@ -1866,14 +1866,14 @@
                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();
        }
 


Other related posts:

  • » [haiku-commits] r41264 - haiku/trunk/src/servers/app - axeld