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
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

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: