On Thu, Jul 25, 2002 at 01:07:34PM +0000, Mikhael Goikhman wrote: > On 25 Jul 2002 14:49:17 +0200, Marcus Lundblad wrote: > > > > > > > You can write a shell script and use it with PipeRead: > > > > > > Mouse 1 I N PipeRead "my_iconmenu.sh WindowMenu $[i.x] $[i.y] > > > $[i.width] $[i.height]" > > > > > > --------------------------- my_iconmenu.sh ----------------------- > > > if [[ $3 -lt 500 ]]; then > > > echo Menu $1 rectangle "$4"x"$5"+"$2"+"$3" c +100 > > > else > > > echo Menu $1 rectangle "$4"x"$5"+"$2"+"$3" c -100m > > > fi > > > ------------------------------------------------------------------ > > > > OK, thanks! > > > > > You may wonder why the "icon" context rectangle doesn't work. I'm > > > not sure yet, but it looks like a bug. > > > > Hmm, I actually use the icon cntext, like: icon 0 -100 (I'm not sure > > exactly, as I'm visiting my parents and am forced to use Windows *shudder* > > and a 56 kbit modem (so therefore there is some spelling errors, because > > it lags so much in pine :-() > > > > And as far as I can tell the icon contex works as I expect it (maybe > > luck...) > > "Context" context works directly, but not using PipeRead or SendToModule. > It is fixed by Dominik as I write this message.
This depended on the icon layout: Only a pixmap: worked fine Pixmap+Title: only pixmap was taken into account Only title: the pointer position was used instead With the fix, the whole icon geometry is taken into account. Bye Dominik ^_^ ^_^ -- Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382 Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
