dwm.c
changeset 1064 5fd0dd420ebf
parent 1063 664b404421fe
child 1065 19b5d57dd019
equal deleted inserted replaced
1063:664b404421fe 1064:5fd0dd420ebf
  1519 	/* EWMH properties */
  1519 	/* EWMH properties */
  1520 	XChangeProperty(dpy, barwin, netatom[NetWMCheck], XA_WINDOW, 32,
  1520 	XChangeProperty(dpy, barwin, netatom[NetWMCheck], XA_WINDOW, 32,
  1521 			PropModeReplace, (unsigned char *) &barwin, 1);
  1521 			PropModeReplace, (unsigned char *) &barwin, 1);
  1522 	/* HACK: dwm identifies itself as compiz to workaround the XToolkit bug of Sun JDK */
  1522 	/* HACK: dwm identifies itself as compiz to workaround the XToolkit bug of Sun JDK */
  1523 	XChangeProperty(dpy, barwin, netatom[NetWMName], utf8string, 8,
  1523 	XChangeProperty(dpy, barwin, netatom[NetWMName], utf8string, 8,
  1524 			PropModeReplace, (unsigned char *) "compiz", 7);
  1524 			PropModeReplace, (unsigned char *) "compiz", 6);
  1525 	XChangeProperty(dpy, root, netatom[NetWMCheck], XA_WINDOW, 32,
  1525 	XChangeProperty(dpy, root, netatom[NetWMCheck], XA_WINDOW, 32,
  1526 			PropModeReplace, (unsigned char *) &barwin, 1);
  1526 			PropModeReplace, (unsigned char *) &barwin, 1);
  1527 	XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,
  1527 	XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,
  1528 			PropModeReplace, (unsigned char *) netatom, NetLast);
  1528 			PropModeReplace, (unsigned char *) netatom, NetLast);
  1529 }
  1529 }