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
1=== modified file 'src/xsplash.c'
2--- src/xsplash.c 2009-10-01 20:56:55 +0000
3+++ src/xsplash.c 2009-10-03 23:55:19 +0000
4@@ -532,6 +532,7 @@
5 if (have_xcomposite)
6 {
7 Window window;
8+ GdkCursor *cursor;
9
10 gdk_error_trap_push ();
11
12@@ -539,6 +540,11 @@
13 GDK_DRAWABLE_XID (gdk_get_default_root_window ()));
14 priv->cow = gdk_window_foreign_new (window);
15
16+ cursor = gdk_cursor_new (GDK_BLANK_CURSOR);
17+ gdk_window_set_cursor (priv->cow,
18+ cursor);
19+ gdk_cursor_unref (cursor);
20+
21 gdk_flush ();
22 gdk_error_trap_pop ();
23 }

Subscribers

People subscribed via source and target branches