[Pkg-xfce-devel] Bug#760740: Bug#760740: lightdm leaves at-spi process behind after login
- Subject: [Pkg-xfce-devel] Bug#760740: Bug#760740: lightdm leaves at-spi process behind after login
- From: sthibault at debian.org (Samuel Thibault)
- Date: Sun, 19 Oct 2014 19:02:20 +0200
- Message-id: <[🔎] 20141019170220.GA20768@type.youpi.perso.aquilenet.fr>
- In-reply-to: <1410096102.29048.24.camel@debian.org>
- References: <20140907125717.GA24714@type.youpi.perso.aquilenet.fr> <1410096102.29048.24.camel@debian.org>
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;
}
Reply to: