Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
d0e0505
)
yeah compiz didn't did the trick, but identifying dwm as LookingGlass (LG3D)
author
Anselm R. Garbe <
[email protected]
>
Thu, 15 Nov 2007 19:38:25 +0000
(20:38 +0100)
committer
Anselm R. Garbe <
[email protected]
>
Thu, 15 Nov 2007 19:38:25 +0000
(20:38 +0100)
dwm.c
diff
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
e87caab
..
c11d7d2
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1519,9
+1519,9
@@
setup(void) {
/* EWMH properties */
XChangeProperty(dpy, barwin, netatom[NetWMCheck], XA_WINDOW, 32,
PropModeReplace, (unsigned char *) &barwin, 1);
/* 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,
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,
XChangeProperty(dpy, root, netatom[NetWMCheck], XA_WINDOW, 32,
PropModeReplace, (unsigned char *) &barwin, 1);
XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,