diff -r 664b404421fe -r 5fd0dd420ebf dwm.c --- a/dwm.c Thu Nov 15 18:57:31 2007 +0100 +++ b/dwm.c Thu Nov 15 19:26:44 2007 +0100 @@ -1521,7 +1521,7 @@ PropModeReplace, (unsigned char *) &barwin, 1); /* HACK: dwm identifies itself as compiz to workaround the XToolkit bug of Sun JDK */ XChangeProperty(dpy, barwin, netatom[NetWMName], utf8string, 8, - PropModeReplace, (unsigned char *) "compiz", 7); + PropModeReplace, (unsigned char *) "compiz", 6); XChangeProperty(dpy, root, netatom[NetWMCheck], XA_WINDOW, 32, PropModeReplace, (unsigned char *) &barwin, 1); XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,