Yes, if you use FvwmEvent, the Visible condition, and some mathematics to do so – you will need to also use xprop to ascertain the parent window of the transient window (via the WM_TRANSIENT_FOR XAtom). You’d have to evaluate that in a PipeRead.
The question popped into my head when I noticed that the evolution spell checker window insisted on being placed half off the screen (left half visible, right half off the screen). However, I see now that FVWMIdent shows the spell checker window isn’t a transient at all.
My placement policy is MinOverlapPlacement and I’ve set NoPPosition and NoUSPosition, but they have no discernable impact. I’m aware of no other windows that get placed partially off the screen and I have no idea why this particular window is misbehaving.
‘Style “Spell checker” CenterPlacement’ will force the window to be placed fully visible, but I’d like to understand what’s going on.
Woops. I completely forgot that I had started to answer this. I can’t see anything overtly obvious in the output you provided. My only suggestion to you (if you can’t fix it by some of the many FP placement policies described in the manpage) is to use FvwmEvent to place the window, hence:
I don’t like this suggestion though as there’s obviously something wrong with that window for it to placed off-kilter in the first place. I am not prepared to download that application though to see if I can reproduce it.
Is there some advantage (besides positional flexibility) to using FvwmEvent over ‘Style “Spell checker” CenterPlacement’?
Ugg. I wouldn’t be using it either except that our Exchange admins won’t turn IMAP on for some reason. evolution-exchange is the only Linux-based solution I’ve found so far that lets me read my email and store it locally.
Thanks again for your help. I can’t tell you how much I appreciate your prompt, informed, and informative responses.
I’ve learned something interesting: if I use PlaceAgain on the spell checker window, it gets placed correctly. I think that somehow Evolution is mis-reporting the initial dimensions of the spell checker window. This is corroborated by the fact that when using CenterPlacement, the spell checker window isn’t quite centered, but then when PlaceAgain is used, it is adjusted correctly.