--- a/src/tilda_window.c +++ b/src/tilda_window.c @@ -427,6 +427,9 @@ gtk_window_move (GTK_WINDOW(tw->window), config_getint ("x_pos"), config_getint ("y_pos")); gtk_window_set_default_size (GTK_WINDOW(tw->window), config_getint ("max_width"), config_getint ("max_height")); gtk_window_resize (GTK_WINDOW(tw->window), config_getint ("max_width"), config_getint ("max_height")); + /* Create GDK resources now, to prevent crashes later on */ + gtk_widget_realize (tw->window); + generate_animation_positions (tw); return tw;