Increase the keystroke event timeout
authorMike Gorse <mgorse@suse.com>
Fri, 16 Mar 2012 21:10:29 +0000 (16:10 -0500)
committerMike Gorse <mgorse@suse.com>
Fri, 16 Mar 2012 21:10:29 +0000 (16:10 -0500)
It seems that it is currently possible for at-spi2-atk to get bogged
down when sending a keystroke notification, so 1 second is a short time
to wait for a reply. It may be possible to mitigate this in the future,
in which case we could reduce the timeout again, but not going to do
this for 3.4. See comment on
https://bugzilla.gnome.org/show_bug.cgi?id=671976.

registryd/deviceeventcontroller.c

index 66feaad..62dc732 100644 (file)
@@ -1277,7 +1277,7 @@ Accessibility_DeviceEventListener_NotifyEvent(SpiDEController *controller,
       dbus_message_unref (message);
       return FALSE;
     }
-    DBusMessage *reply = send_and_allow_reentry (controller->bus, message, 1000, &error);
+    DBusMessage *reply = send_and_allow_reentry (controller->bus, message, 3000, &error);
     if (reply)
     {
       DBusError error;