--- src/backend/bacon-resize.c	2007-03-26 02:50:04.000000000 +0200
+++ /home/mblaesing/bacon-resize.c	2007-09-01 16:36:17.000000000 +0200
@@ -43,6 +43,17 @@
 gboolean
 bacon_resize_init (void)
 {
+    /* Make sure we are in singlehead - multihead is not supported for resizing */
+    GdkDisplay *display;
+    GdkScreen *screen;
+    display = gdk_display_get_default();
+    screen = gdk_screen_get_default();
+    if (gdk_display_get_n_screens(display) > 1 ||
+        gdk_screen_get_n_monitors(screen) > 1)
+    {
+        return FALSE;
+    }
+
 #ifdef HAVE_XVIDMODE
 	int event_basep, error_basep;
 
