Merge lp:~bratsche/xsplash/blank-cow-cursor into lp:xsplash

Proposed by Cody Russell
Status: Merged
Merged at revision: not available
Proposed branch: lp:~bratsche/xsplash/blank-cow-cursor
Merge into: lp:xsplash
Diff against target: 23 lines
1 file modified
src/xsplash.c (+6/-0)
To merge this branch: bzr merge lp:~bratsche/xsplash/blank-cow-cursor
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
Review via email: mp+12834@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Ted Gould (ted) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/xsplash.c'
--- src/xsplash.c 2009-10-01 20:56:55 +0000
+++ src/xsplash.c 2009-10-03 23:55:19 +0000
@@ -532,6 +532,7 @@
532 if (have_xcomposite)532 if (have_xcomposite)
533 {533 {
534 Window window;534 Window window;
535 GdkCursor *cursor;
535536
536 gdk_error_trap_push ();537 gdk_error_trap_push ();
537538
@@ -539,6 +540,11 @@
539 GDK_DRAWABLE_XID (gdk_get_default_root_window ()));540 GDK_DRAWABLE_XID (gdk_get_default_root_window ()));
540 priv->cow = gdk_window_foreign_new (window);541 priv->cow = gdk_window_foreign_new (window);
541542
543 cursor = gdk_cursor_new (GDK_BLANK_CURSOR);
544 gdk_window_set_cursor (priv->cow,
545 cursor);
546 gdk_cursor_unref (cursor);
547
542 gdk_flush ();548 gdk_flush ();
543 gdk_error_trap_pop ();549 gdk_error_trap_pop ();
544 }550 }

Subscribers

People subscribed via source and target branches