Update of /cvsroot/mahogany/M/src/modules
In directory usw-pr-cvs1:/tmp/cvs-serv28866/src/modules

Modified Files:
        LayoutEditor.cpp LayoutViewer.cpp 
Log Message:
Attempt to have focus following the mouse on Windows. Protected with 
EXPERIMENTAL_FOCUS_FOLLOWS.

Index: LayoutEditor.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/LayoutEditor.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -u -2 -r1.5 -r1.6
--- LayoutEditor.cpp    13 May 2002 00:27:39 -0000      1.5
+++ LayoutEditor.cpp    3 Jun 2002 11:09:09 -0000       1.6
@@ -248,5 +248,5 @@
    Profile *profile = GetProfile();
 
-#ifndef OS_WIN
+#if defined(__WXGTK__) || defined(EXPERIMENTAL_FOCUS_FOLLOWS)
    m_LayoutWindow->
       SetFocusFollowMode(READ_CONFIG_BOOL(profile, MP_FOCUS_FOLLOWSMOUSE));

Index: LayoutViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/LayoutViewer.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -b -u -2 -r1.23 -r1.24
--- LayoutViewer.cpp    3 May 2002 23:02:49 -0000       1.23
+++ LayoutViewer.cpp    3 Jun 2002 11:09:09 -0000       1.24
@@ -299,4 +299,8 @@
    m_msgView = msgView;
    m_window = new LayoutViewerWindow(this, parent);
+#if defined(__WXGTK__) || defined(EXPERIMENTAL_FOCUS_FOLLOWS)
+   //m_window ->
+   //   SetFocusFollowMode(READ_CONFIG_BOOL(profile, MP_FOCUS_FOLLOWSMOUSE));
+#endif
 }
 
@@ -326,5 +330,5 @@
    Profile *profile = GetProfile();
 
-#ifndef OS_WIN
+#if defined(__WXGTK__) || defined(EXPERIMENTAL_FOCUS_FOLLOWS)
    m_window->SetFocusFollowMode(READ_CONFIG_BOOL(profile, MP_FOCUS_FOLLOWSMOUSE));
 #endif


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to