This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XServer draws to incorrect window when using VirtuaWin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]