← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~bratsche/xsplash/undefine-cursor into lp:xsplash

 

Cody Russell has proposed merging lp:~bratsche/xsplash/undefine-cursor into lp:xsplash.

    Requested reviews:
    Canonical Desktop Experience Team (canonical-dx-team)
Related bugs:
  #498289 Should restore the mouse cursor on the cow before exiting
  https://bugs.launchpad.net/bugs/498289

-- 
https://code.launchpad.net/~bratsche/xsplash/undefine-cursor/+merge/16355
Your team ayatana-commits is subscribed to branch lp:xsplash.
=== modified file 'src/xsplash.c'
--- src/xsplash.c	2009-12-09 16:47:40 +0000
+++ src/xsplash.c	2009-12-18 19:53:11 +0000
@@ -236,6 +236,8 @@
 
   if (have_xcomposite && priv->cow)
     {
+      XUndefineCursor (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
+                       GDK_DRAWABLE_XID (priv->cow));
       XCompositeReleaseOverlayWindow (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
                                       GDK_DRAWABLE_XID (GDK_WINDOW_ROOT));
       g_object_unref (priv->cow);


Follow ups