Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backing store option



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.

References: 
 >backing store option (From: Axel Stoltenberg <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.