diff options
Diffstat (limited to 'glitchyclock.c')
-rw-r--r-- | glitchyclock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glitchyclock.c b/glitchyclock.c index ffaabfa..ff7e16e 100644 --- a/glitchyclock.c +++ b/glitchyclock.c @@ -271,6 +271,7 @@ static gboolean key_press_sig(GtkWidget *da, GdkEventKey *event, struct glitchyc static gint realise_sig(GtkWidget *da, struct glitchyclock *gc) { + GdkCursor *cursor; GdkWindow *win = gtk_widget_get_window(da); /* Keyboard and input method stuff */ @@ -279,6 +280,9 @@ static gint realise_sig(GtkWidget *da, struct glitchyclock *gc) gc->fontdesc = pango_font_description_from_string("DSEG7 Modern Bold Italic 16"); + cursor = gdk_cursor_new_for_display(gtk_widget_get_display(da), GDK_BLANK_CURSOR); + gdk_window_set_cursor(gtk_widget_get_window(da), cursor); + return FALSE; } |