Browse Source

yeah compiz didn't did the trick, but identifying dwm as LookingGlass (LG3D)

master
Anselm R. Garbe 17 years ago
parent
commit
123a565bb9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      dwm.c

+ 2
- 2
dwm.c View File

@ -1519,9 +1519,9 @@ setup(void) {
/* EWMH properties */ /* EWMH properties */
XChangeProperty(dpy, barwin, netatom[NetWMCheck], XA_WINDOW, 32, XChangeProperty(dpy, barwin, netatom[NetWMCheck], XA_WINDOW, 32,
PropModeReplace, (unsigned char *) &barwin, 1); 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, 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, XChangeProperty(dpy, root, netatom[NetWMCheck], XA_WINDOW, 32,
PropModeReplace, (unsigned char *) &barwin, 1); PropModeReplace, (unsigned char *) &barwin, 1);
XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32, XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,


Loading…
Cancel
Save