--- ./wmsystray/ui.c.00	2007-02-16 15:00:52.000000000 +0100
+++ ./wmsystray/ui.c	2007-02-16 15:05:51.000000000 +0100
@@ -108,7 +108,7 @@
 	 * Set window manager hints.
 	 */
 	class_hints = XAllocClassHint();
-	class_hints->res_class = "WMSYSTRAY";
+	class_hints->res_class = "DockApp";
 	class_hints->res_name = app_name;
 	XSetClassHint (main_disp, main_wind, class_hints);
 	XFree (class_hints);
@@ -148,7 +148,7 @@
 	XClearWindow (main_disp, draw_wind);
 	XFlush (main_disp);
 
-	draw_ui_elements();
+	void draw_ui_elements();
 
 	/*
 	 * Select input events we're interested in.
