summaryrefslogtreecommitdiffstats
path: root/src/star-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/star-context.cpp')
-rw-r--r--src/star-context.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/star-context.cpp b/src/star-context.cpp
index cc3d56a11..603365feb 100644
--- a/src/star-context.cpp
+++ b/src/star-context.cpp
@@ -31,6 +31,7 @@
#include "desktop-style.h"
#include "message-context.h"
#include "pixmaps/cursor-star.xpm"
+#include "pixmaps/cursor-star.pixbuf"
#include "sp-metrics.h"
#include <glibmm/i18n.h>
#include "prefs-utils.h"
@@ -95,6 +96,11 @@ sp_star_context_init (SPStarContext * star_context)
SPEventContext *event_context = SP_EVENT_CONTEXT (star_context);
event_context->cursor_shape = cursor_star_xpm;
+ event_context->cursor_pixbuf = gdk_pixbuf_new_from_inline(
+ -1,
+ cursor_star_pixbuf,
+ FALSE,
+ NULL);
event_context->hot_x = 4;
event_context->hot_y = 4;
event_context->xp = 0;