applied nsz's dwm.1 patch, also added wmname
authorAnselm R Garbe <anselm@garbe.us>
Sun, 16 Aug 2009 21:39:24 +0100
changeset 1481 b8cfc90d1703
parent 1480 a52339f25d95
child 1482 d4137ac1d940
applied nsz's dwm.1 patch, also added wmname
dwm.1
--- a/dwm.1	Sun Aug 16 08:18:54 2009 +0100
+++ b/dwm.1	Sun Aug 16 21:39:24 2009 +0100
@@ -149,11 +149,17 @@
 .SH BUGS
 Java applications which use the XToolkit/XAWT backend may draw grey windows
 only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
-JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
-you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you
-can set the following environment variable (to use the older Motif
-backend instead):
-.BR AWT_TOOLKIT=MToolkit .
+JDK 1.6 versions, because it assumes a reparenting window manager. Possible workarounds
+are using JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or setting the
+environment variable
+.BR AWT_TOOLKIT=MToolkit
+(to use the older Motif backend instead) or running
+.B xprop -root -f _NET_WM_NAME 32a -set _NET_WM_NAME LG3D
+or
+.B wmname LG3D
+(to pretend that a non-reparenting window manager is running that the
+XToolkit/XAWT backend can recognize) or when using OpenJDK setting the environment variable
+.BR _JAVA_AWT_WM_NONREPARENTING=1 .
 .P
 GTK 2.10.9+ versions contain a broken
 .BR Save\-As