handle java more
authorJoerg Jaspert <joerg@ganneff.de>
Tue, 11 Mar 2014 13:35:13 +0000 (14:35 +0100)
committerJoerg Jaspert <joerg@ganneff.de>
Tue, 11 Mar 2014 13:35:13 +0000 (14:35 +0100)
bin/gtkfix

index 2ce8b80..f60632d 100755 (executable)
@@ -11,6 +11,9 @@ fi
 PATH=/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/usr/bin/X11:/usr/games
 # Special case one thing: iceweasel
 if [[ "$0" =~ iceweasel ]]; then
+    _JAVA_AWT_WM_NONREPARENTING=1; export _JAVA_AWT_WM_NONREPARENTING
+    AWT_TOOLKIT=MToolkit; export AWT_TOOLKIT
+    wmname LG3D
     eatmydata  "$@"
 else
     $@