--- a/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in.save	2012-05-01 11:59:03.931119446 +0200
+++ b/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in	2012-05-01 11:59:24.148682770 +0200
@@ -92,6 +92,11 @@
       <summary>Laptop lid close action when on AC</summary>
       <description>The action to take when the laptop lid is closed and the laptop is on AC power.</description>
     </key>
+    <key name="lid-close-check-monitors" type="b">
+      <default>true</default>
+      <summary>Work on external monitors after closing lid</summary>
+      <description>If true, closing the laptop lid will let the user work on external monitors. If false, it will always perform the associated action.</description>
+    </key>
     <key name="critical-battery-action" enum="org.gnome.settings-daemon.GsdPowerActionType">
       <default>'hibernate'</default>
       <summary>Battery critical low action</summary>
--- a/plugins/power/gsd-power-manager.c.save	2012-05-01 11:56:09.852915684 +0200
+++ b/plugins/power/gsd-power-manager.c	2012-05-01 11:57:09.822600448 +0200
@@ -2345,7 +2345,9 @@
         }
 
         /* perform policy action */
-        if (non_laptop_outputs_are_all_off (manager->priv->x11_screen)) {
+        if (!g_settings_get_boolean (manager->priv->settings,
+                                    "lid-close-check-monitors")
+            || non_laptop_outputs_are_all_off (manager->priv->x11_screen)) {
                 g_debug ("lid is closed; suspending or hibernating");
                 do_power_action_type (manager, action_type);
         } else
