diff options
| author | Anselm R. Garbe <garbeam@gmail.com> | 2007-11-15 20:38:25 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-11-15 20:38:25 +0100 |
| commit | 123a565bb987cb435427095fc1048a73dff2ec8e (patch) | |
| tree | 52133802da12c631a3ff235fef8e2bc604091da3 | |
| parent | foo (diff) | |
| download | dwm-123a565bb987cb435427095fc1048a73dff2ec8e.tar.gz dwm-123a565bb987cb435427095fc1048a73dff2ec8e.zip | |
yeah compiz didn't did the trick, but identifying dwm as LookingGlass (LG3D)
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1519,9 +1519,9 @@ setup(void) { | |||
| 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 LookingGlass 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", 6); | 1524 | PropModeReplace, (unsigned char *) "LG3D", 4); |
| 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, |
