> Just a random comment:
> 
> IIRC in the early days of kgi (aka scrdrv), we had another idea on how
> to deal with the switch-away business:
> 
> 1. If switchaway occurs, ask the Application to switch away gracefully
> (using a signal). 
> 
> 2. If the application consents using a callback, all is well.
>    The application has thus the opportunity to handle the case nicely.
> 
> I remember early versions of LibGGI using that to do some mmap-magic
> that copid the framebuffer to memory and then placed the memory
> buffer right at the place where the FB just was. Moreover it reset
> the accel hooks and thus fell back to software drawing while
> switched away.

That's exactly, what I proposed by using the memory target. See my
other mail.

For users/applications, who don't wanna have this "fall back feature"
(see Jos reply to my mail), can pass an appropriate option to the
kgi-target at opening time.

-- 
CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr f�r 1 ct/ Min. surfen!

Reply via email to