Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LMOfB-0005zu-9L for qemu-devel@nongnu.org; Mon, 12 Jan 2009 10:25:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LMOf9-0005yB-Gi for qemu-devel@nongnu.org; Mon, 12 Jan 2009 10:25:11 -0500 Received: from [199.232.76.173] (port=49491 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMOf9-0005y8-8z for qemu-devel@nongnu.org; Mon, 12 Jan 2009 10:25:11 -0500 Received: from smtp02.citrix.com ([66.165.176.63]:52218) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LMOf8-00059e-SG for qemu-devel@nongnu.org; Mon, 12 Jan 2009 10:25:11 -0500 Received: from mariner.uk.xensource.com ([10.80.2.22]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id n0CFP2cn010811 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 12 Jan 2009 07:25:04 -0800 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1LMOf0-0008Fz-1I for qemu-devel@nongnu.org; Mon, 12 Jan 2009 15:25:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18795.24782.32087.215747@mariner.uk.xensource.com> Date: Mon, 12 Jan 2009 15:25:02 +0000 Subject: Re: [Qemu-devel] Ongoing changes to the displaying code In-Reply-To: <4967885A.2020908@codemonkey.ws> References: <4966ADD4.5090102@codesourcery.com> <4966BB7A.3090303@codemonkey.ws> <4966BEC4.7080903@codemonkey.ws> <60cad3f0901090128m23977527kf658c15ba90dbaf8@mail.gmail.com> <49676B43.2020406@codemonkey.ws> <18791.34404.878201.724561@mariner.uk.xensource.com> <4967885A.2020908@codemonkey.ws> <20090109174252.GA2193@kos.to> <49679E7F.6050504@codemonkey.ws> From: Ian Jackson Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Anthony Liguori writes ("Re: [Qemu-devel] Ongoing changes to the displaying code"): > If you search the mailing lists, I went down this route before I > originally wrote the VNC server. XEmbed has some serious limitations > surrounding how events are propagated between windows. I convinced > myself that you couldn't do what you really wanted to do through this > mechanism. I had a quick look and didn't find the threads you're talking about. > Of course, with the right VNC extension to support a shared memory > transport, I still contend VNC can be just as efficient as SDL. Are there widely supported VNC extensions for accelerated graphics ? Anthony Liguori writes ("Re: [Qemu-devel] Ongoing changes to the displaying code"): > Window events won't propagate (things like focus cycling). There is > tons of information about why these things don't work well in practice > out there for those interested in googling. I'm not sure what you mean by `focus cycling'. I often develop X GUI programs in two halves, one of which embeds a window in the other. This conveniently allows the two halves to be in different languages, differently versioned, provides additional concurrency without the need for threads, etc. Only one of the perhaps many programs in any toplevel should put up conventional UI elements like menus and buttons. Ian.