aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaper-pauper2016-06-25 07:15:21 +0200
committerRémi Verschelde2016-07-08 18:16:09 +0200
commit3ff466770a74ecc2c08dd4b30ac531ecf58a0db1 (patch)
tree9664c8431ac1d36643979c29fe50a2af550f8c7f
parent584deb807e8d99d1ebe526edc993a7610ef8b05f (diff)
downloadgodot-3ff466770a74ecc2c08dd4b30ac531ecf58a0db1.tar.gz
godot-3ff466770a74ecc2c08dd4b30ac531ecf58a0db1.tar.zst
godot-3ff466770a74ecc2c08dd4b30ac531ecf58a0db1.zip
Changes X11 res_name to "Godot_Engine"
Add additional/alternative WM_CLASS; only affects the game window, avoids redundancy and allows finer control in WMs (#5265) (cherry picked from commit dd1ad3175715d7a1eea089a4d9ecec8cb3a516fd)
-rw-r--r--platform/x11/os_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index 4d7532d63..279488e6e 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -311,7 +311,7 @@ void OS_X11::initialize(const VideoMode& p_desired,int p_video_driver,int p_audi
/* set the name and class hints for the window manager to use */
classHint = XAllocClassHint();
if (classHint) {
- classHint->res_name = (char *)"Godot";
+ classHint->res_name = (char *)"Godot_Engine";
classHint->res_class = (char *)"Godot";
}
XSetClassHint(x11_display, x11_window, classHint);