From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dcqp5-0000Ez-Jt for qemu-devel@nongnu.org; Mon, 30 May 2005 16:25:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dcqp0-0000Ba-LT for qemu-devel@nongnu.org; Mon, 30 May 2005 16:25:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dcqoz-00009Y-2F for qemu-devel@nongnu.org; Mon, 30 May 2005 16:25:13 -0400 Received: from [128.8.10.162] (helo=po0.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dcqme-0003WR-2k for qemu-devel@nongnu.org; Mon, 30 May 2005 16:22:48 -0400 Received: from jbrown.mylinuxbox.org (jma-box.student.umd.edu [129.2.237.180]) by po0.wam.umd.edu (8.12.10/8.12.10) with ESMTP id j4UKL7kl017037 for ; Mon, 30 May 2005 16:21:07 -0400 (EDT) Date: Mon, 30 May 2005 16:21:07 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] gtk2 driver Message-ID: <20050530202107.GA3663@jbrown.mylinuxbox.org> References: <20050530171109.GA2163@jbrown.mylinuxbox.org> <20050530211042.A17280@bbland> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050530211042.A17280@bbland> 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 On Mon, May 30, 2005 at 09:10:43PM +0200, Lionel Ulmer wrote: > On Mon, May 30, 2005 at 01:11:09PM -0400, Jim C. Brown wrote: > > Fullscreen mode is still broken (the window will resize, but the image on the > > window will not). This will be tricky to fix as software scaling will be > > necessary to get the image to be the right size/shape. Unlike SDL or OpenGL, > > which could alter the video resolution of the X server. Perhaps the best > > solution is to use an embedded GTK GLX widget to render the image. What do > > you think Fabrice? > > Why not switch to SDL output when the user requests going 'full-screen' ? It > would be a bit of a hack, but well, it could work :-) > It's a very easy hack to write, and it wouldnt be very difficult to get to work. There is a gtksdl widget for gtk2 that I could use just for this purpose - that way you could still have say a drop down menubar to use (for the GUI). Or the gtk code could simply call upon the SDL driver when it goes into fullscreen mode. > Otherwise, just use plain X11 calls to change resolution (via XRandr or via > Xvidmode). The problem being always to properly 'align' this window to be > the only one on screen. This is also doable, but it is less portable (e.g. it wouldnt work on Windows). Either of these approaches mean moving away from pure GTK/GDK. Fabrice hasn't explained why, but he has made it clear that he wants the Linux to use GTK. Also, I'd prefer not to use X11 in the gtk driver in the hopes of keeping it Windows compatible. > > Lionel > > -- > Lionel Ulmer - http://www.bbrox.org/ > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.