From 3ff466770a74ecc2c08dd4b30ac531ecf58a0db1 Mon Sep 17 00:00:00 2001 From: paper-pauper Date: Sat, 25 Jun 2016 07:15:21 +0200 Subject: [PATCH] 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) --- platform/x11/os_x11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 4d7532d637..279488e6e8 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);