[gimp/gimp-2-10] Issue #4107: Removing titlebar/borders from Windows Splash Screen (Backport)
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Issue #4107: Removing titlebar/borders from Windows Splash Screen (Backport)
- Date: Wed, 2 Feb 2022 17:36:19 +0000 (UTC)
commit 8229194abf82eb1d3b1123f378b72343041fe9e9
Author: Nikc <nikcdc gmail com>
Date: Mon Jan 31 19:56:56 2022 +0000
Issue #4107: Removing titlebar/borders from Windows Splash Screen (Backport)
app/gui/splash.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/app/gui/splash.c b/app/gui/splash.c
index e25c1b0bc6..f257e7b5d0 100644
--- a/app/gui/splash.c
+++ b/app/gui/splash.c
@@ -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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]