2024-07-22 10:49:28 +00:00
|
|
|
From cbe6fb86ce1e71c7360974a960db6bf79eb1ebde Mon Sep 17 00:00:00 2001
|
2023-03-06 18:40:33 +00:00
|
|
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
|
|
|
Date: Fri, 2 Dec 2022 22:49:41 +0100
|
|
|
|
Subject: [PATCH] place: Always center initial-setup/fedora-welcome
|
|
|
|
|
|
|
|
---
|
2023-03-10 00:36:17 +00:00
|
|
|
src/core/place.c | 5 +++++
|
|
|
|
1 file changed, 5 insertions(+)
|
2023-03-06 18:40:33 +00:00
|
|
|
|
|
|
|
diff --git a/src/core/place.c b/src/core/place.c
|
2024-07-22 10:49:28 +00:00
|
|
|
index 8a06ccb667..f34ae7f43d 100644
|
2023-03-06 18:40:33 +00:00
|
|
|
--- a/src/core/place.c
|
|
|
|
+++ b/src/core/place.c
|
2024-07-22 10:49:28 +00:00
|
|
|
@@ -377,6 +377,11 @@ window_place_centered (MetaWindow *window)
|
2023-03-06 18:40:33 +00:00
|
|
|
|
|
|
|
type = window->type;
|
|
|
|
|
2023-03-10 00:36:17 +00:00
|
|
|
+ if (g_strcmp0 (meta_window_get_wm_class (window), "org.gnome.InitialSetup") == 0 ||
|
|
|
|
+ g_strcmp0 (meta_window_get_wm_class (window), "org.fedoraproject.welcome-screen") == 0 ||
|
2023-03-09 20:33:33 +00:00
|
|
|
+ g_strcmp0 (meta_window_get_wm_class (window), "fedora-welcome") == 0)
|
2023-03-06 18:40:33 +00:00
|
|
|
+ return TRUE;
|
|
|
|
+
|
|
|
|
return (type == META_WINDOW_DIALOG ||
|
|
|
|
type == META_WINDOW_MODAL_DIALOG ||
|
|
|
|
type == META_WINDOW_SPLASHSCREEN ||
|
|
|
|
--
|
2024-07-22 10:49:28 +00:00
|
|
|
2.44.0.501.g19981daefd.dirty
|
2023-03-06 18:40:33 +00:00
|
|
|
|