I dont know if anyone else saw this http://slashdot.org/article.pl?sid=03/11/25/0330208
I've been trying to make something similar for fvwm using this method, this is what I've got so far, I have no idea how to restore layer after the Raise, if anyone has any suggestions.. DestroyFunc FvwmExpose AddToFunc FvwmExpose + I DestroyMenu FvwmExposeMenu + I AddToMenu FvwmExposeMenu ".: e x p o s e :." Title + I All (!Iconic !Shaded CurrentPage AcceptsFocus) \ PipeRead "echo Raise; \ xwd -silent -id $[w.id] | convert -resize 64 -frame 1x1 \ -mattecolor white -quality 0 xwd:- \ png:$[HOME]/.fvwm/icon.exp.$[w.id].png \ && echo AddToMenu FvwmExposeMenu \ %$[HOME]/.fvwm/icon.exp.$[w.id].png%\\\'$[w.name]\\\' WindowID $[w.id] WarpToWindow 5p 5p \ && echo AddToMenu FvwmExposeMenu \\\"\\\" Nop \ || Nop" + I PopUp FvwmExposeMenu + I All (!Iconic !Shaded CurrentPage AcceptsFocus) \ PipeRead "echo Exec exec rm -f $[HOME]/.fvwm/icon.exp.$[w.id].png" I've discovered that the fastest method for getting screenshots is using xwd as above, although it wont get the frame :( [EMAIL PROTECTED]:~$ time import -silent -resize 64 -window 0x2c00003 test.png real 0m0.962s user 0m0.120s sys 0m0.010s [EMAIL PROTECTED]:~$ time xwd -silent -id 0x2c00003 | convert -resize 64 xwd:- png:test.png real 0m0.176s user 0m0.095s sys 0m0.025s Screenshot: http://dev.gentoo.org/~taviso/fvwm_expose.png It's not that useful yet, but it feels close :) -- ------------------------------------- [EMAIL PROTECTED] | finger me for my gpg key. ------------------------------------------------------- -- 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]