Index: gnome-shell-3.0.2/src/shell-recorder.c
===================================================================
--- gnome-shell-3.0.2/src/shell-recorder.c
+++ gnome-shell-3.0.2/src/shell-recorder.c	2011-06-18 21:39:13.651761938 +0200
@@ -396,6 +396,9 @@
 
   cursor_image = XFixesGetCursorImage (clutter_x11_get_default_display ());
 
+  if (!cursor_image)
+	  return;
+
   recorder->cursor_hot_x = cursor_image->xhot;
   recorder->cursor_hot_y = cursor_image->yhot;
 
Index: gnome-shell-3.0.2/src/shell-xfixes-cursor.c
===================================================================
--- gnome-shell-3.0.2/src/shell-xfixes-cursor.c
+++ gnome-shell-3.0.2/src/shell-xfixes-cursor.c	2011-06-18 21:38:47.879902174 +0200
@@ -203,6 +203,9 @@
 
   cursor_image = XFixesGetCursorImage (clutter_x11_get_default_display ());
 
+  if (!cursor_image)
+	  return;
+
   /* Like all X APIs, XFixesGetCursorImage() returns arrays of 32-bit
    * quantities as arrays of long; we need to convert on 64 bit */
   if (sizeof(long) == 4)
