I Invoke it from the function I use to switch desktops and pages. Anyway - i solved it. I Just removed Raise.
/Peter 2019-12-26 1:31 GMT, Thomas Adam <tho...@fvwm.org>: > On Thu, Dec 26, 2019 at 12:26:03AM +0000, Peter Holm wrote: > > Hi Peter, > >> To get thumbnails within fvwmpager, I do as following. >> DestroyFunc Mini_Thumbnail >> AddToFunc Mini_Thumbnail >> + I Raise >> + I SetEnv MiniIcon-$[w.id] $[w.MiniIconFile] >> + I ThisWindow (!Shaded, !FvwmPager, !Iconic) PipeRead \ >> "$[FVWM_USERDIR]/bin/thumb $[w.id] $[fvwm_mini_icon_size] >> $[FVWM_USERDIR]/tmp/mini_icon.tmp.$[w.id].png $[w..MiniIconFile]\ >> && echo WindowStyle EWMHMiniIconOverride, MiniIcon >> $[FVWM_USERDIR]/tmp/mini_icon.tmp.$[w.id].png || echo Nop" >> #----- >> >> But the call to ThisWindow gives me a crosshair in thoose cases where >> there is no window below the mousepointer. >> How do I avoid the crosshair.? > > You're seeing the crosshair because the way you've invoked Mini_Thumbnail > is > not in a window context which means FVWM has no idea which window to > operate > on. > > How are you invoking this function? > > Kindly, > Thomas > -- Med vänlig hälsning / With kind regards /Peter Holm