summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/x11/display_server_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linuxbsd/x11/display_server_x11.cpp')
-rw-r--r--platform/linuxbsd/x11/display_server_x11.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/platform/linuxbsd/x11/display_server_x11.cpp b/platform/linuxbsd/x11/display_server_x11.cpp
index 8a2f83be2d..07a48a46ef 100644
--- a/platform/linuxbsd/x11/display_server_x11.cpp
+++ b/platform/linuxbsd/x11/display_server_x11.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -5228,13 +5230,13 @@ void DisplayServerX11::_update_context(WindowData &wd) {
CharString name_str;
switch (context) {
case CONTEXT_EDITOR:
- name_str = "Godot_Editor";
+ name_str = "Redot_Editor";
break;
case CONTEXT_PROJECTMAN:
- name_str = "Godot_ProjectList";
+ name_str = "Redot_ProjectList";
break;
case CONTEXT_ENGINE:
- name_str = "Godot_Engine";
+ name_str = "Redot_Engine";
break;
}
@@ -5242,12 +5244,12 @@ void DisplayServerX11::_update_context(WindowData &wd) {
if (context == CONTEXT_ENGINE) {
String config_name = GLOBAL_GET("application/config/name");
if (config_name.length() == 0) {
- class_str = "Godot_Engine";
+ class_str = "Redot_Engine";
} else {
class_str = config_name.utf8();
}
} else {
- class_str = "Godot";
+ class_str = "Redot";
}
classHint->res_class = class_str.ptrw();
@@ -5638,7 +5640,7 @@ DisplayServerX11::WindowID DisplayServerX11::_create_window(WindowMode p_mode, V
}
/* set the titlebar name */
- XStoreName(x11_display, wd.x11_window, "Godot");
+ XStoreName(x11_display, wd.x11_window, "Redot");
XSetWMProtocols(x11_display, wd.x11_window, &wm_delete, 1);
if (xdnd_aware != None) {
XChangeProperty(x11_display, wd.x11_window, xdnd_aware, XA_ATOM, 32, PropModeReplace, (unsigned char *)&xdnd_version, 1);
@@ -6217,7 +6219,7 @@ DisplayServerX11::DisplayServerX11(const String &p_rendering_driver, WindowMode
if (use_prime) {
print_line("Found discrete GPU, setting DRI_PRIME=1 to use it.");
- print_line("Note: Set DRI_PRIME=0 in the environment to disable Godot from using the discrete GPU.");
+ print_line("Note: Set DRI_PRIME=0 in the environment to disable Redot from using the discrete GPU.");
setenv("DRI_PRIME", "1", 1);
}
}