backing store option
backing store option
- Subject: backing store option
- From: Axel Stoltenberg <email@hidden>
- Date: Tue, 24 Jun 2003 15:30:14 +0200
Hello,
Thanks for your answer Sean,
but I would like to come back on this matter once more...
>>I have ported some rather old graphic X11 programs to the Mac.
Unfortunately,
>>the contents of the windows get erased partly after they were overlapped by
>>another window.
>> I had the same effect under linux - until I included the option
>>
>> Option "Backingstore" "on"
>>
>> in /etc/X11/XF86Config.
>>
>> 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" ?
>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.
>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 f
>your window repainted. That's the right thing to do, even on XFree86 on
>Linux.
I agree that making the program react to Expose/Redraw events would
be the best and clean solution. Unfortunately the program is *very* old
(more than 15 years) and the internal structures do not allow a simple
redraw of everything on the screen. It would take me months of work to
change thousands of functions/subroutines. I dont have so much time.
By the way, I never experienced a situation when the server threw
away the backing store due to low memory, neither under XFree86 nor
under Solaris.
I would like to try it with backing-store "on" if possible, even if it is not
the best solution. Is there a way to configure the server in this
way ?
Thanks
Axel
_______________________________________________
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.