Issue #4107: Removing titlebar/borders from Windows Splash Screen (Backport)

This commit is contained in:
Nikc
2022-01-31 19:56:56 +00:00
parent 61282527fa
commit 8229194abf

View File

@ -142,6 +142,12 @@ splash_create (gboolean be_verbose,
"resizable", FALSE,
NULL);
/* Don't remove this call, it's necessary to remove decorations on Windows
* (which is the natural state of splash-screens). Looks like the
* GDK_WINDOW_TYPE_HINT_SPLASHSCREEN hint is not used on some platforms.
*/
gtk_window_set_decorated (GTK_WINDOW (splash->window), FALSE);
g_signal_connect_swapped (splash->window, "delete-event",
G_CALLBACK (exit),
GINT_TO_POINTER (0));