Re: FVWM: Determine window's Icon

From: Andy Arbon <andy_at_andrewarbon.co.uk>
Date: Mon, 24 Nov 2003 18:48:33 +0000

Hello,

Excuse me for butting in, but I thought I'd give this idea a go. When I
try and use the function I get the following output on the console:

import: Unable to read X window image (0x60000e).
import: Missing an image filename.

(With a different window number for different windows, obviously)

Insertion of an extra echo shows that the line that is failing is:
  PipeRead "import -geometry 64 -frame -resize 64 -silent -window
0x60000e /home/ara/.fvwm/icon.tmp.0x60000e.png + I echo WindowStyle
IconOverride, Icon /home/ara/.fvwm/icon.tmp.0x60000e.png || echo Nop"

Any ideas? This is with 2.5.8.

Also, I had to comment out the bottom + I Iconify, otherwise I get a
kind of 'bouncing' effect, where the window iconises and then
immediately deiconises. This could be because the former command is
failing though AFAIK.
Cheers,

Andy

Tavis Ormandy wrote:
>> DestroyFunc DeIconifyWithScreenshot
>> AddToFunc DeIconifyWithScreenshot
>> + I DestroyWindowStyle
>> + I Exec rm -f $HOME/.fvwm/icon.tmp.$[w.id].png
>>
>> DestroyModuleConfig FvwmEvent-IconWatch: *
>> *FvwmEvent-IconWatch: deiconify DeIconifyWithScreenshot
>>


--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Nov 24 2003 - 17:05:38 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST