Merge pull request #5400 from paper-pauper/wm-class-fix
Changes X11 res_name to "Godot_Engine"
This commit is contained in:
commit
882b3ed138
|
@ -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 */
|
/* set the name and class hints for the window manager to use */
|
||||||
classHint = XAllocClassHint();
|
classHint = XAllocClassHint();
|
||||||
if (classHint) {
|
if (classHint) {
|
||||||
classHint->res_name = (char *)"Godot";
|
classHint->res_name = (char *)"Godot_Engine";
|
||||||
classHint->res_class = (char *)"Godot";
|
classHint->res_class = (char *)"Godot";
|
||||||
}
|
}
|
||||||
XSetClassHint(x11_display, x11_window, classHint);
|
XSetClassHint(x11_display, x11_window, classHint);
|
||||||
|
|
Loading…
Reference in New Issue