public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* new cygwin/x11 and backingstore
@ 2010-02-04 16:05 anne crespy
  2010-02-08 14:42 ` Jon TURNEY
  0 siblings, 1 reply; 2+ messages in thread
From: anne crespy @ 2010-02-04 16:05 UTC (permalink / raw)
  To: cygwin-xfree

Hi,

Before updating Cygwin/X with the new version (X11R7) I launched Xwin with this
command :

XWin -multiwindow -clipboard -silent-dup-error +bs &

and the backingStore option worked correctly in a graphic window (built with
tcl/tk8.4 and Xlib).

Now, it doesn't work. When the graphic window is overlapped its contents is
corrupted by the top window.

I didn't have this problem with the beta-version in november 2009.

What have changed since?

Thanks for your help,

Best regards
Anne



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: new cygwin/x11 and backingstore
  2010-02-04 16:05 new cygwin/x11 and backingstore anne crespy
@ 2010-02-08 14:42 ` Jon TURNEY
  0 siblings, 0 replies; 2+ messages in thread
From: Jon TURNEY @ 2010-02-08 14:42 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: crespy

On 04/02/2010 15:25, anne crespy wrote:
> Hi,
>
> Before updating Cygwin/X with the new version (X11R7) I launched Xwin with this
> command :
>
> XWin -multiwindow -clipboard -silent-dup-error +bs&
>
> and the backingStore option worked correctly in a graphic window (built with
> tcl/tk8.4 and Xlib).

You were just lucky :-)

The backing store attribute is a hint; the server doesn't have to
honour a request to use backing store.

Note that even if you have an X server which does provide backingstore, the 
server doesn't have to provide an unlimited amount of memory for it, so it may 
discard backingstore at any time.

Any X client which *requires* backingstore to work is broken, not correctly 
redrawing windows when they are exposed.

See [1]

> Now, it doesn't work. When the graphic window is overlapped its contents is
> corrupted by the top window.
>
> I didn't have this problem with the beta-version in november 2009.
>
> What have changed since?

backingstore is implemented in terms of Composite in the X.Org server since X 
server 1.5.0

Unfortunately, we have had to disable Composite in the current X server due to 
crashes.

If/when these problems with Composite are fixed, things may work a little 
better...



[1] http://www.mail-archive.com/xorg@lists.freedesktop.org/msg04440.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-08 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-04 16:05 new cygwin/x11 and backingstore anne crespy
2010-02-08 14:42 ` Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).