Hi there, please recheck attached version of setmwname as a binary with the JDK grey blob issue.
Use ; ./setwmname LG3D and see if it works. If so, then consider this for getting rid of Xmonad patches as well. Kind regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
setwmname-0.1.tar.gz
Description: Binary data