<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000">
<TITLE>RE: [libvirt] [PATCH] add fullscreen support to qemu sdl xml (via fullscreen='true' attribute for the graphics element)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Sure - probably not a good idea to send patches at such a late hour anyway :)</FONT>
<BR><FONT SIZE=2>Attached diff.</FONT>
</P>
<P><FONT SIZE=2>Some more details:</FONT>
<BR><FONT SIZE=2>For those using SDL ("for some crazy reason" as Berrange put it in the original patch), there is a use for the fullscreen option, causing the qemu window to open in full screen, change resolution, etc.</FONT></P>
<P><FONT SIZE=2>This patch accepts an additional attribute in the graphics element:</FONT>
<BR><FONT SIZE=2><graphics type='sdl' display=':0.1' xauth='/root/.Xauthority' fullscreen='true'/></FONT>
</P>
<P><FONT SIZE=2>If fullscreen is true, "-full-screen" is added to the qemu command line (unlike the display and auth which are added as environment variables)</FONT></P>
<BR>
<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: Daniel Veillard [<A HREF="mailto:veillard@redhat.com">mailto:veillard@redhat.com</A>]</FONT>
<BR><FONT SIZE=2>> Sent: Wednesday, December 10, 2008 9:49 AM</FONT>
<BR><FONT SIZE=2>> To: Itamar Heim</FONT>
<BR><FONT SIZE=2>> Cc: Libvir-list@redhat.com</FONT>
<BR><FONT SIZE=2>> Subject: Re: [libvirt] [PATCH] add fullscreen support to qemu sdl xml</FONT>
<BR><FONT SIZE=2>> (via fullscreen='true' attribute for the graphics element)</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> On Tue, Dec 09, 2008 at 07:12:05PM -0500, Itamar Heim wrote:</FONT>
<BR><FONT SIZE=2>> > diff --git a/src/domain_conf.c b/src/domain_conf.c</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Hum, I don't know how you sent the diff, but it got broken when</FONT>
<BR><FONT SIZE=2>> reaching my mail agent. Please add as an attachment.</FONT>
<BR><FONT SIZE=2>> Also in general it's a good idea to put some text describing really</FONT>
<BR><FONT SIZE=2>> what the patch does and what is affected, a one line mail subject</FONT>
<BR><FONT SIZE=2>> is a bit short. Especially for thing modifying the XML format,</FONT>
<BR><FONT SIZE=2>> the construct changes ought to be clearly documented.</FONT>
<BR><FONT SIZE=2>> Adding the regression tests is nice, thanks, but we also need</FONT>
<BR><FONT SIZE=2>> to augment the .rng schemas to handle the extension if accepted</FONT>
<BR><FONT SIZE=2>> and the HTML documentation also need the update. We can do it but</FONT>
<BR><FONT SIZE=2>> providing the complete details helps :-)</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> So could you please repost the patch with detail of the syntax</FONT>
<BR><FONT SIZE=2>> change and as an attachment,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> thanks in advance,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Daniel</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> > + if (vm->def->graphics->data.sdl.fullscreen &&</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > + STREQ(vm->def->graphics->data.sdl.fullscreen, "true")) {</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > + fullscreen=true;</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > + }</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > +</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> --</FONT>
<BR><FONT SIZE=2>> Daniel Veillard | libxml Gnome XML XSLT toolkit</FONT>
<BR><FONT SIZE=2>> <A HREF="http://xmlsoft.org/">http://xmlsoft.org/</A></FONT>
<BR><FONT SIZE=2>> daniel@veillard.com | Rpmfind RPM search engine <A HREF="http://rpmfind.net/">http://rpmfind.net/</A></FONT>
<BR><FONT SIZE=2>> <A HREF="http://veillard.com/">http://veillard.com/</A> | virtualization library <A HREF="http://libvirt.org/">http://libvirt.org/</A></FONT>
</P>
</BODY>
</HTML>