public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Marcin Wiśnicki" <mwisnicki@gmail.com>
To: cygwin-xfree@cygwin.com
Subject: Re: XServer draws to incorrect window when using VirtuaWin
Date: Sun, 03 Oct 2010 23:05:00 -0000	[thread overview]
Message-ID: <i8b20u$eam$1@dough.gmane.org> (raw)
In-Reply-To: <4C864040.4060807@dronecode.org.uk>

On Tue, 07 Sep 2010 14:38:08 +0100, Jon TURNEY wrote:

> On 03/09/2010 10:01, Pete wrote:
>> On 13 August 2010 11:38, Pete<sneakypete81@gmail.com>  wrote:
>>> VirtuaWin (http://virtuawin.sourceforge.net/) is a virtual desktop
>>> manager for Windows that lets you switch between several "virtual
>>> desktops", similar to those provided in KDE&  Gnome.
>>>
>>> When switching between desktops that have CygwinX windows open,
>>> occasionally the Xserver draws to the wrong window. This is difficult
>>> to describe, so will continue with an example:
> 
> I'm afraid I think this falls into the category of "known problems", see
> [1].
> 
> The tricks that XWin uses to implement multiwindow mode don't seem to be
> compatible with the tricks that VirtuaWin uses to implement multiple
> desktops.
> 

Have you considered using Composite, i.e. embedding composite manager 
inside Xwin. I don't know anything about Xwin internals but to me it 
seems that without acceleration it would be as simple as blitting 
offscreen pixmaps of X windows to native win32 windows and it should 
basically solve this and other Xwin rendering quirks, like seeing black 
rectangle before new window is created.

In fact there is a `screen`-type application xpra[2] that works this way, 
except it connects to existing X server (like Xvfb) where it acts as 
window and compositing manager and then renders redirected windows with 
gtk on your real desktop.

[2] http://code.google.com/p/partiwm/source/browse/README.xpra#159

> [1] https://bugs.freedesktop.org/show_bug.cgi?id=21540
> --
> 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/


  parent reply	other threads:[~2010-10-03 23:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTimMGMLYqBe4pDPO=R5NJ+vV8em9EpEorRN=Ah7D@mail.gmail.com>
     [not found] ` <AANLkTinuqPcousugZwCVhPP3vgZ5tKrX39wbi2Wmr1BR@mail.gmail.com>
     [not found]   ` <AANLkTim5rt1Pn-uVmf7p6iuS3Dc-oQXwSKTStcuMwKJq@mail.gmail.com>
2010-08-13 11:09     ` Pete
2010-09-03  9:01       ` Pete
2010-09-07 13:38         ` Jon TURNEY
2010-09-07 15:54           ` Pete
2010-10-03 23:05           ` Marcin Wiśnicki [this message]
2010-10-03 23:30             ` Marcin Wiśnicki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i8b20u$eam$1@dough.gmane.org' \
    --to=mwisnicki@gmail.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).