yeah compiz didn't did the trick, but identifying dwm as LookingGlass (LG3D)
authorAnselm R. Garbe <garbeam@gmail.com>
Thu, 15 Nov 2007 20:38:25 +0100
changeset 1065 19b5d57dd019
parent 1064 5fd0dd420ebf
child 1066 9f49779c6562
yeah compiz didn't did the trick, but identifying dwm as LookingGlass (LG3D)
dwm.c
--- a/dwm.c	Thu Nov 15 19:26:44 2007 +0100
+++ b/dwm.c	Thu Nov 15 20:38:25 2007 +0100
@@ -1519,9 +1519,9 @@
 	/* EWMH properties */
 	XChangeProperty(dpy, barwin, netatom[NetWMCheck], XA_WINDOW, 32,
 			PropModeReplace, (unsigned char *) &barwin, 1);
-	/* HACK: dwm identifies itself as compiz to workaround the XToolkit bug of Sun JDK */
+	/* HACK: dwm identifies itself as LookingGlass to workaround the XToolkit bug of Sun JDK */
 	XChangeProperty(dpy, barwin, netatom[NetWMName], utf8string, 8,
-			PropModeReplace, (unsigned char *) "compiz", 6);
+			PropModeReplace, (unsigned char *) "LG3D", 4);
 	XChangeProperty(dpy, root, netatom[NetWMCheck], XA_WINDOW, 32,
 			PropModeReplace, (unsigned char *) &barwin, 1);
 	XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,