Set res_class on classHints

This commit is contained in:
Mathias Lithen 2024-03-27 09:39:53 +02:00 committed by akallabeth
parent d864393a8a
commit 532a3cd1a9

View File

@ -562,6 +562,7 @@ xfWindow* xf_CreateDesktopWindow(xfContext* xfc, char* name, int width, int heig
else
res_class = _strdup("xfreerdp");
classHints->res_class = res_class;
XSetClassHint(xfc->display, window->handle, classHints);
XFree(classHints);
free(res_class);