1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

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

Native icons are not supported by the X11 DisplayServer, unlike
Windows and macOS.
This commit is contained in:
Hugo Locurcio
2022-10-26 20:39:31 +02:00
parent 2b505b74b9
commit 82a575dff4

View File

@@ -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: