summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorpaper-pauper <paper-pauper@users.noreply.github.com>2016-06-25 07:15:21 +0200
committerGitHub <noreply@github.com>2016-06-25 07:15:21 +0200
commitdd1ad3175715d7a1eea089a4d9ecec8cb3a516fd (patch)
treed1e2004b3febfe9b35d8696f7b3ca6999ff88361 /platform
parent62dfee768d1541d8933452c004e5f9e002e6d912 (diff)
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)
Diffstat (limited to 'platform')
-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 c9349c1bbe..12957b81b7 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -344,7 +344,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);