Explorar o código

Fix `DisplayServer.has_feature()` claiming X11 has native icon support

Native icons are not supported by the X11 DisplayServer, unlike
Windows and macOS.
Hugo Locurcio %!s(int64=3) %!d(string=hai) anos
pai
achega
82a575dff4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      platform/linuxbsd/display_server_x11.cpp

+ 1 - 1
platform/linuxbsd/display_server_x11.cpp

@@ -126,7 +126,7 @@ bool DisplayServerX11::has_feature(Feature p_feature) const {
 		case FEATURE_WINDOW_TRANSPARENCY:
 		//case FEATURE_HIDPI:
 		case FEATURE_ICON:
-		case FEATURE_NATIVE_ICON:
+		//case FEATURE_NATIVE_ICON:
 		case FEATURE_SWAP_BUFFERS:
 #ifdef DBUS_ENABLED
 		case FEATURE_KEEP_SCREEN_ON: