https://bugzilla.redhat.com/show_bug.cgi?id=1061568
Erik Streb del Toro mail@erikstreb.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mail@erikstreb.de
--- Comment #9 from Erik Streb del Toro mail@erikstreb.de --- Just for other xmonad users searching a solution to this “bug” (misconfiguration):
The solution is to NOT USE the SetWMName extension in order to convince Java that xmonad is "LG3D" (which is a deprecated way of working around the gray java windows). Because this SetWMName breaks GTK3-apps, see the xmonad FAQ: https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Using_SetWMName
Instead use the preferred method (see FAQ https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Preferred_Method) and set an environment variable _JAVA_AWT_WM_NONREPARENTING=1 at startup. I did this by adding the following to my xmonad.hs:
import System.Posix.Env (putEnv)
and adding the putEnv line to the startup of xmonad:
main = do putEnv "_JAVA_AWT_WM_NONREPARENTING=1"
Now I can use all java applications and GTK3-apps.
See: https://code.google.com/p/xmonad/issues/detail?id=559