Index: display.c
===================================================================
RCS file: /cvs/gnome/metacity/src/display.c,v
retrieving revision 1.122
diff -U8 -r1.122 display.c
--- display.c	27 Jun 2002 05:08:32 -0000	1.122
+++ display.c	29 Jun 2002 06:17:44 -0000
@@ -1018,17 +1018,19 @@
               event->xbutton.button == 1)
             {
               if (!frame_was_receiver)
                 {
                   /* don't focus if frame received, will be
                    * done in frames.c if the click wasn't on
                    * the minimize/close button.
                    */
-                  meta_window_raise (window);
+		  
+ 		  if (meta_prefs_get_auto_raise())
+		    meta_window_raise (window);
                   
                   meta_topic (META_DEBUG_FOCUS,
                               "Focusing %s due to unmodified button %d press (display.c)\n",
                               window->desc, event->xbutton.button);
                   meta_window_focus (window, event->xbutton.time);
                 }
 
               if (!frame_was_receiver && unmodified)
