Quellcode durchsuchen

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)
paper-pauper vor 9 Jahren
Ursprung
Commit
dd1ad31757
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      platform/x11/os_x11.cpp

+ 1 - 1
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);