Re: backing store option
Re: backing store option
- Subject: Re: backing store option
- From: Sean Ahern <email@hidden>
- Date: Mon, 23 Jun 2003 10:48:34 -0700
Axel Stoltenberg wrote:
> I had the same effect under linux - until I included the option
>
> Option "Backingstore" "on"
>
> in /etc/X11/XF86Config.
This is a dangerous thing to rely on. X servers are not required to do
backing store for their windows, even if you ask for it. In fact, in low
memory conditions, they may simply throw away their backing stores, requiring
that the application repaint the window every time.
> I cannot find such a file on my Mac, nor can I find something equivalent.
> I am quite sure that there should be some way to fix this, at least
> a "xdpyinfo" gives me the information that the option "backing-store" is set
> to "no". How can I set it to "yes" ?
The best thing for you to do is have your application respond to Expose
events. They will be generated by the X server whenever it needs a portion of
your window repainted. That's the right thing to do, even on XFree86 on
Linux.
-Sean
__
email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.