I’m trying a few different things to see if I can’t get IntelliJ Idea to behave with my FVWM setup. From reading, I gather that IntelliJ specifically and Java in general have these sort of issues in FVWM, and am working through some of those fixes and hacks to see if I find something that work better than what I’m getting now.
However, I’ve hit a hurdle where I’m having trouble getting the Style command to apply to the IntelliJ window. xprop shows me that while WM_NAME changes per-project, WM_CLASS seems to be static, so I’m trying to use that. But it’s also showing me what I believe is an array, rather than a single String.
WM_CLASS(STRING) = "sun-awt-X11-XFramePeer", "jetbrains-idea-ce"
So I grabbed one of those, hoping I only needed to match any, and added this line to my config:
Style jetbrains-idea-ce BorderWidth 10, FPEnterToFocus, FPFocusByProgram, FPLenient
Originally, the two middle FP styles were a “MouseFocus”, and “FPLenient” was “Lenience”, but it seemed like the man page says FP is the new way to go, so I tried it. The BorderWidth 10 command was only there because I began to suspect none of my changes or attempted configs were taking effect. And indeed, when I put that in, the application border did not increase. So my question is, is there a way I can use the WM_CLASS I’m getting from xprop to apply a style? Or do I need to find another way to identify the window?