[at-spi] Clear IOR property on the root window when quit.



commit dadd278ddb95a187b650d3ede71888057b086362
Author: Li Yuan <li yuan sun com>
Date:   Mon Jan 25 15:35:03 2010 +0800

    Clear IOR property on the root window when quit.
    
    Bug #608003.

 registryd/registry-main.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/registryd/registry-main.c b/registryd/registry-main.c
index c20de26..bfd0c9b 100644
--- a/registryd/registry-main.c
+++ b/registryd/registry-main.c
@@ -116,6 +116,12 @@ query_end_session_cb (guint flags, gpointer data)
 static void
 end_session_cb (guint flags, gpointer data)
 {
+        Atom  AT_SPI_IOR = XInternAtom (spi_get_display (), "AT_SPI_IOR", TRUE);
+        XDeleteProperty (spi_get_display(),
+                         XDefaultRootWindow (spi_get_display ()),
+                         AT_SPI_IOR);
+        XFlush (spi_get_display());
+
         end_session_response (TRUE, NULL);
         bonobo_main_quit ();
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]