diff --git a/source/utils/CarlaPluginUI.cpp b/source/utils/CarlaPluginUI.cpp index dd91877c6..eba303c99 100644 --- a/source/utils/CarlaPluginUI.cpp +++ b/source/utils/CarlaPluginUI.cpp @@ -428,6 +428,14 @@ public: CARLA_SAFE_ASSERT_RETURN(fHostWindow != 0,); XStoreName(fDisplay, fHostWindow, title); + + const Atom _nwn = XInternAtom(fDisplay, "_NET_WM_NAME", False); + const Atom utf8 = XInternAtom(fDisplay, "UTF8_STRING", True); + + XChangeProperty(fDisplay, fHostWindow, _nwn, utf8, 8, + PropModeReplace, + (const uchar*)(title), + (int)strlen(title)); } void setTransientWinId(const uintptr_t winId) override