From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20146 invoked by alias); 3 Oct 2010 23:05:13 -0000 Received: (qmail 20132 invoked by uid 22791); 3 Oct 2010 23:05:12 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=BAYES_40,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,TW_GT,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 03 Oct 2010 23:05:06 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P2Xc7-0006bb-JQ for cygwin-xfree@cygwin.com; Mon, 04 Oct 2010 01:05:03 +0200 Received: from static-78-8-147-77.ssp.dialog.net.pl ([78.8.147.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Oct 2010 01:05:03 +0200 Received: from mwisnicki by static-78-8-147-77.ssp.dialog.net.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Oct 2010 01:05:03 +0200 To: cygwin-xfree@cygwin.com From: =?iso-8859-2?q?Marcin_Wi=B6nicki?= Subject: Re: XServer draws to incorrect window when using VirtuaWin Date: Sun, 03 Oct 2010 23:05:00 -0000 Message-ID: References: <4C864040.4060807@dronecode.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Pan/0.132 (Waxed in Black) X-IsSubscribed: yes Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2010-10/txt/msg00010.txt.bz2 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 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/