--- ./src/wmgeneral.c.00	2002-10-19 11:33:41.000000000 +0200
+++ ./src/wmgeneral.c	2008-09-22 20:01:15.000000000 +0200
@@ -441,7 +441,7 @@
 	/* Activate hints */
 	XSetWMNormalHints(display, win, &mysizehints);
 	classHint.res_name = wname;
-	classHint.res_class = wname;
+	classHint.res_class = "DockApp";
 	XSetClassHint(display, win, &classHint);
 
 	XSelectInput(display, win, ButtonPressMask | ExposureMask | ButtonReleaseMask | PointerMotionMask | StructureNotifyMask | EnterWindowMask | LeaveWindowMask | KeyPressMask | KeyReleaseMask);
