--- ./src/wmgeneral/wmgeneral.c.00	2002-10-03 02:30:47.000000000 +0200
+++ ./src/wmgeneral/wmgeneral.c	2007-02-20 14:41:46.000000000 +0100
@@ -386,7 +386,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);
