Re: FVWM: avoiding crosshair when thumbnailing

Peter Holm <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <CAOZhre1zysLxOe3O_P6GC=b5NNmbTctPWo68ZAPJYL_qZMEU2w@mail.gmail.com>
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 <[email protected]>:
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.