Index: src/display.c
===================================================================
RCS file: /cvs/gnome/metacity/src/display.c,v
retrieving revision 1.213
diff -p -u -r1.213 display.c
--- src/display.c	10 Jan 2004 17:16:05 -0000	1.213
+++ src/display.c	31 Jan 2004 06:34:53 -0000
@@ -3314,6 +3314,9 @@ void
 meta_display_grab_focus_window_button (MetaDisplay *display,
                                        MetaWindow  *window)
 {
+  if (meta_prefs_get_focus_mode () == META_FOCUS_MODE_CLICK && !window->input)
+    return;
+
   /* Grab button 1 for activating unfocused windows */
   meta_verbose ("Grabbing unfocused window buttons for %s\n", window->desc);
 
