--- ./wmgeneral/wmgeneral.c.00	2004-01-29 03:38:58.000000000 +0100
+++ ./wmgeneral/wmgeneral.c	2007-02-21 19:35:46.000000000 +0100
@@ -416,7 +416,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);
