diff -rup src.orig/metacity.schemas src/metacity.schemas
--- src.orig/metacity.schemas	2006-08-05 14:43:04.000000000 +0200
+++ src/metacity.schemas	2006-08-05 14:44:24.000000000 +0200
@@ -9,6 +9,20 @@
     <!-- General preferences -->        
 
     <schema>
+      <key>/schemas/apps/metacity/general/close_on_double_click_menu</key>
+      <applyto>/apps/metacity/general/close_on_double_click_menu</applyto>
+      <owner>metacity</owner>
+      <type>bool</type>
+      <default>false</default>
+      <locale name="C">
+         <short>Enables double clicking the menu button to close a window</short>
+         <long>
+           Double clicking on a window's menu button will close the window.
+         </long>
+      </locale>
+    </schema>
+
+    <schema>
       <key>/schemas/apps/metacity/general/mouse_button_modifier</key>
       <applyto>/apps/metacity/general/mouse_button_modifier</applyto>
       <owner>metacity</owner>
diff -rup src.orig/metacity.schemas.in src/metacity.schemas.in
--- src.orig/metacity.schemas.in	2006-08-05 14:43:04.000000000 +0200
+++ src/metacity.schemas.in	2006-08-05 14:43:38.000000000 +0200
@@ -9,6 +9,20 @@
     <!-- General preferences -->        
 
     <schema>
+      <key>/schemas/apps/metacity/general/close_on_double_click_menu</key>
+      <applyto>/apps/metacity/general/close_on_double_click_menu</applyto>
+      <owner>metacity</owner>
+      <type>bool</type>
+      <default>false</default>
+      <locale name="C">
+         <short>Enables double clicking the menu button to close a window</short>
+         <long>
+           Double clicking on a window's menu button will close the window.
+         </long>
+      </locale>
+    </schema>
+
+    <schema>
       <key>/schemas/apps/metacity/general/mouse_button_modifier</key>
       <applyto>/apps/metacity/general/mouse_button_modifier</applyto>
       <owner>metacity</owner>
