← Back to team overview

ayatana-commits team mailing list archive

[Branch ~xsplash-team/xsplash/trunk] Rev 82: merge lp:~bratsche/xsplash/blank-cow-cursor, bug #432179

 

Merge authors:
  Cody Russell (bratsche)
Related merge proposals:
  https://code.launchpad.net/~bratsche/xsplash/blank-cow-cursor/+merge/12834
  proposed by: Cody Russell (bratsche)
  review: Approve - Ted Gould (ted)
------------------------------------------------------------
revno: 82 [merge]
committer: Cody Russell <crussell@xxxxxxxxxxxxx>
branch nick: xsplash
timestamp: Mon 2009-10-05 17:46:49 -0400
message:
  merge lp:~bratsche/xsplash/blank-cow-cursor, bug #432179
modified:
  src/xsplash.c


--
lp:xsplash
https://code.launchpad.net/~xsplash-team/xsplash/trunk

Your team ayatana-commits is subscribed to branch lp:xsplash.
To unsubscribe from this branch go to https://code.launchpad.net/~xsplash-team/xsplash/trunk/+edit-subscription.
=== modified file 'src/xsplash.c'
--- src/xsplash.c	2009-10-04 00:13:32 +0000
+++ src/xsplash.c	2009-10-05 21:46:49 +0000
@@ -534,6 +534,7 @@
   if (have_xcomposite)
     {
       Window window;
+      GdkCursor *cursor;
 
       gdk_error_trap_push ();
 
@@ -541,6 +542,11 @@
                                            GDK_DRAWABLE_XID (gdk_get_default_root_window ()));
       priv->cow = gdk_window_foreign_new (window);
 
+      cursor = gdk_cursor_new (GDK_BLANK_CURSOR);
+      gdk_window_set_cursor (priv->cow,
+                             cursor);
+      gdk_cursor_unref (cursor);
+
       gdk_flush ();
       gdk_error_trap_pop ();
     }