Set the class hints for managed windows.
diff --git a/tsx11/ts_xutil.c b/tsx11/ts_xutil.c
index 0f17ea3d..e9647f8 100644
--- a/tsx11/ts_xutil.c
+++ b/tsx11/ts_xutil.c
@@ -219,6 +219,17 @@
return r;
}
+int TSXSetClassHint(Display* a0, Window a1, XClassHint* a2)
+{
+ int r;
+ TRACE(x11, "Call XSetClassHint\n");
+ EnterCriticalSection( &X11DRV_CritSection );
+ r = XSetClassHint(a0, a1, a2);
+ LeaveCriticalSection( &X11DRV_CritSection );
+ TRACE(x11, "Ret XSetClassHint\n");
+ return r;
+}
+
void TSXSetWMProperties(Display* a0, Window a1, XTextProperty* a2, XTextProperty* a3, char** a4, int a5, XSizeHints* a6, XWMHints* a7, XClassHint* a8)
{
TRACE(x11, "Call XSetWMProperties\n");