[Pkg-xfce-devel] Bug#760740: Bug#760740: lightdm leaves at-spi process behind after login
Samuel Thibault
sthibault at debian.org
Sun Oct 19 17:02:20 UTC 2014
Hello,
I'm afraid this won't get solved properly in time for Jessie. I'd like
to propose the attached patch, which doesn't manage to kill at-spi
processes, but at least removes the reference to it from the root
AT_SPI_BUS property, thus clearing the way for the user session's own
at-spi process. This would thus fix accessibility in xfce, lxde,
mate, and also fix qt-at-spi's grave bug #762672, which is essentially
due to qt-at-spi being given a non-working qt-at-spi reference in the
AT_SPI_BUS property.
Samuel
-------------- next part --------------
--- src/lightdm-gtk-greeter.c.original 2014-10-19 18:30:01.368000000 +0200
+++ src/lightdm-gtk-greeter.c 2014-10-19 18:49:46.876000000 +0200
@@ -2803,5 +2803,16 @@
gdk_color_free (default_background_color);
#endif
+ {
+ int screen = XDefaultScreen (display);
+ Window w = RootWindow (display, screen);
+ Atom id = XInternAtom (display, "AT_SPI_BUS", True);
+ if (id != None)
+ {
+ XDeleteProperty (display, w, id);
+ XSync (display, FALSE);
+ }
+ }
+
return EXIT_SUCCESS;
}
More information about the Pkg-xfce-devel
mailing list