[gimp] Issue #4107: Removing titlebar/borders from Windows Splash Screen
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Issue #4107: Removing titlebar/borders from Windows Splash Screen
- Date: Fri, 21 Jan 2022 13:49:19 +0000 (UTC)
commit 998479706bf043ef83b9b2eca7f7948298af3c9c
Author: Nikc <nikcdc gmail com>
Date: Fri Jan 21 13:49:18 2022 +0000
Issue #4107: Removing titlebar/borders from Windows Splash Screen
app/gui/splash.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/app/gui/splash.c b/app/gui/splash.c
index a9ab59b3d3..8df1d8039a 100644
--- a/app/gui/splash.c
+++ b/app/gui/splash.c
@@ -171,6 +171,12 @@ splash_create (Gimp *gimp,
"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]