Re: FVWM: Asynchronous behaviour

From: Rusty Phillips <rustyp_at_freeshell.org>
Date: Mon, 05 Jul 2004 19:26:08 -0500

Good idea; that should do the trick. Thanks for the help.

On Mon, 2004-07-05 at 10:46, Scott Smedley wrote:
> 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 majordomo_at_fvwm.org.
> To report problems, send mail to fvwm-owner_at_fvwm.org.
>

--
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 Jul 05 2004 - 19:14:08 BST

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