On Wed, Apr 12, 2017 at 09:47:54AM -0600, Glenn Golden wrote: > Is it possible to force a given window to appear and remain only on a > particular page? (Effectively, something like "StartsOnPage", except it > would really be "StaysOnPage", i.e. the page assignment holds for all time, > not just upon initial mapping.) > > The need for this arises as follows: I'm running xv with the -poll option, > in order to periodically update the display of an image as the underlying > image file changes. Desired behavior is that the image only ever appears on > fvwm page (x,y). When I try to obtain this behavior via: > > Style myxv StartsOnPage x y, SkipMapping > > and then invoking xv as > > $ xv -name myxv -poll [myfile] > > it starts on page (x,y) as desired, but then later, when the image file > changes, the 'new' (i.e., updated) window always pops up on the current page.
You'd have to use FvwmEvent to do this. Listen on the new_page event and either iconify or deiconify the window as appropriate. Kindly, Thomas