--- ./wmcdrom.c.00	2007-02-16 11:40:30.000000000 +0100
+++ ./wmcdrom.c	2007-01-29 17:20:49.000000000 +0100
@@ -27,6 +27,7 @@
 #include <sys/mount.h>
 #include <fstab.h>
 #include <signal.h>
+#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -197,7 +198,7 @@
 	if ((classHint=XAllocClassHint())==NULL)
 		SEXIT("Failed to allocate class hint\n");
 
-	classHint->res_class=PROGRAMNAME;
+	classHint->res_class="DockApp";
 	classHint->res_name=PROGRAMNAME;
 	XSetClassHint(display, dockWindow, classHint);
 	XFree(classHint);
