# HG changeset patch # User Anselm R Garbe # Date 1250455164 -3600 # Node ID b8cfc90d17039666734bf544044a9319156cc8e3 # Parent a52339f25d95031e367b39ead4e2ae35c2bb7c18 applied nsz's dwm.1 patch, also added wmname diff -r a52339f25d95 -r b8cfc90d1703 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