The syntax is not “Style COMMAND”, it is “Style [WINDOWNAME|CLASSNAME]”.
With FvwmIdent you can get the CLASSNAME of the window, or you just use the Window name as displayed in the titlebar. If it contains spaces, put it in quotes, or use wildcards.
For your interest: For a window manager it is impossible(?) to find out which window belongs to which program. So for window-handling it can only use properties of that specific window, like window id, name, icon name, class name and so on. FvwmIdent will list those properties for you.
Maybe I did not make myself clear, sorry. When I use
Style Xpdf Notitle, HandleWidth 0
together with
xpdf -fullscreen file.pdf
I do have no border. But when I use this style with
xpdf file.pdf
I also do not have one. But I want one (in not-fullscreen-mode), because without a border I cannot resize the window!
When I was still using the openbox wm, the “-fullscreen” option of xpdf took care of removing the border and making the window fullscreen.
In short words: I want xpdf to have borders, but when I use “-fullscreen” I don’t want them. Same thing for Openoffice, which I have not yet tested.
@Pixelbrei: Thanks for that piece of information. I did not know that, but it sound logical .
I can confirm that blender works without a border at all times now, which is exactely what I wanted (this was standard in openbox). The blender window is called “Blender” with a capital-b, that was the reason.