Index: gnome-session/gsm-at-startup.c
===================================================================
--- gnome-session/gsm-at-startup.c	（版本 4621）
+++ gnome-session/gsm-at-startup.c	（工作副本）
@@ -44,8 +44,22 @@
 static gboolean
 gsm_assistive_filter_timeout (gpointer data)
 {
-  gsm_assistive_error_dialog ();
+  Atom actual_type;
+  int actual_format;
+  unsigned char *ior_str = NULL;
+  unsigned long nitems;
+  unsigned long leftover;
 
+  XGetWindowProperty(GDK_DISPLAY (),
+                     XDefaultRootWindow (GDK_DISPLAY ()),
+                     AT_SPI_IOR, 0L,
+                     (long)BUFSIZ, False,
+                     (Atom) 31, &actual_type, &actual_format,
+                     &nitems, &leftover, &ior_str);
+
+  if (!(*ior_str))
+    gsm_assistive_error_dialog ();
+
   gtk_main_quit ();
 
   return FALSE;
