Re: [Qemu-devel] gtk2 driver

2005-05-31 Thread Jim C. Brown
Updated gtk2.c and xvid_fs.c; Fullscreen mode now works perfectly, there is no more title bar above qemu window. "Your illusion is now complete." I may or may not hack gdk_set_window_pointer.c to support linux framebuffer, if I do I'll probably add a fb_fs.c to support fullscreen mode in the frameb

Re: [Qemu-devel] gtk2 driver

2005-05-31 Thread Jim C. Brown
On Tue, May 31, 2005 at 03:45:03PM -0400, Jim C. Brown wrote: > On Mon, May 30, 2005 at 08:24:09PM -0400, Jim C. Brown wrote: > > Here is the new driver. Patch is against a clean qemu directory. Once you > > apply the patch, dump the attached files into the qemu root directory and > > run configure

Re: [Qemu-devel] gtk2 driver

2005-05-31 Thread Jim C. Brown
On Mon, May 30, 2005 at 08:24:09PM -0400, Jim C. Brown wrote: > Here is the new driver. Patch is against a clean qemu directory. Once you > apply the patch, dump the attached files into the qemu root directory and > run configure with '--enable-gtk' option. The '--set-fs-driver=' option > exists bu

Re: [Qemu-devel] gtk2 driver

2005-05-31 Thread Jim C. Brown
On Tue, May 31, 2005 at 04:15:34PM +0200, Sylvain Petreolle wrote: > --- "Jim C. Brown" <[EMAIL PROTECTED]> a ?crit : > > > Here is the new driver. Patch is against a clean qemu directory. Once you > > apply the patch, dump the attached files into the qemu root directory and > > run configure with

Re: [Qemu-devel] gtk2 driver

2005-05-31 Thread Sylvain Petreolle
--- "Jim C. Brown" <[EMAIL PROTECTED]> a écrit : > Here is the new driver. Patch is against a clean qemu directory. Once you > apply the patch, dump the attached files into the qemu root directory and > run configure with '--enable-gtk' option. The '--set-fs-driver=' option > exists but there shou

Re: [Qemu-devel] gtk2 driver

2005-05-30 Thread Jim C. Brown
Here is the new driver. Patch is against a clean qemu directory. Once you apply the patch, dump the attached files into the qemu root directory and run configure with '--enable-gtk' option. The '--set-fs-driver=' option exists but there should be no need to use it. -- Infinite complexity begets i

Re: [Qemu-devel] gtk2 driver

2005-05-30 Thread Jim C. Brown
On Mon, May 30, 2005 at 11:10:26PM +0200, Fabrice Bellard wrote: > >>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. > > > > > > If GTK cannot support correct

Re: [Qemu-devel] gtk2 driver

2005-05-30 Thread Fabrice Bellard
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 a

Re: [Qemu-devel] gtk2 driver

2005-05-30 Thread Jim C. Brown
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 > > neces

Re: [Qemu-devel] gtk2 driver

2005-05-30 Thread Lionel Ulmer
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, > w

[Qemu-devel] gtk2 driver

2005-05-30 Thread Jim C. Brown
Mouse grabbing works now (cursor will go invisible and strange "bumping" problems). Also you can grab the mouse just by clicking the left mouse button again. The user can no longer manually resize the qemu gtk window. Now when you close the GTK window, it signals qemu to shutdown (as if you had t

[Qemu-devel] gtk2 driver

2005-05-27 Thread Sebastien Bechet
Hello Jim, As fabrice know, i have done some work about it, but no time to debug. Nevertheless, I think the code is near to work. Maybe it can help you or someone to finish gtk2 driver... (you can apply it directly on CVS, see TODO on gtk.c top for bugs) Bye. -- Sebastien Bechet <[EMAIL PROTEC