Added appropriate window_type_hint to the splash window.
[pspp-builds.git] / src / ui / gui / main.c
index 4fc21595bedd3c442b8394aec1fa922ab5b15707..6a38d7259ee4aaec22d75344958634783188326f 100644 (file)
@@ -41,6 +41,9 @@ create_splash_window (void)
   gtk_window_set_position (GTK_WINDOW (splash),
                           GTK_WIN_POS_CENTER_ALWAYS);
 
+  gtk_window_set_type_hint (GTK_WINDOW (splash),
+                           GDK_WINDOW_TYPE_HINT_SPLASHSCREEN);
+
   image = gtk_image_new_from_file (PKGDATADIR "/splash.png");
 
   gtk_container_add (GTK_CONTAINER (splash), image);