Hi Rusty,

: The problem I get is that I'd like to use Tavis Ormandy's excellent
: thumbnail creation code.  This takes two seconds to run on my machine,
: so my thought was to do it in the background - actually, to do it behind
: the other Window.

I'm not sure I have the ideal solution for you, however:

The thumbnailing operation can be split into 2 parts:
1. immediate actions
2. deferred actions

Immediate actions would be stuff like raising the window, grabbing
a screenshot & then iconifying the window.

The deferred stuff (which takes most of the processing time) encompasses:
recording the current icon image, creating the thumbnailed icon image,
setting the icon image to the new thumbnail.

All the deferred stuff can be done in a script & Exec'ed. Communication
with FVWM (in the script) would be trivial with FvwmCommand.

Once FVWM does the Exec it's no longer waiting (for PipeReads) &
hopefully it will all appear much more responsive.

SCoTT. :)
--
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]

Reply via email to