From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEJYr-0001Ch-G3 for qemu-devel@nongnu.org; Sun, 01 Apr 2012 08:07:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SEJYp-0007LQ-Oh for qemu-devel@nongnu.org; Sun, 01 Apr 2012 08:07:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEJYp-0007L6-HE for qemu-devel@nongnu.org; Sun, 01 Apr 2012 08:07:07 -0400 Date: Sun, 1 Apr 2012 15:06:59 +0300 From: Alon Levy Message-ID: <20120401120659.GE11611@garlic.home> References: <1332771332-14090-1-git-send-email-alevy@redhat.com> <1333056194-24426-1-git-send-email-alevy@redhat.com> <4F756B08.1080700@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F756B08.1080700@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3] spice_info: add mouse_mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org, anthony@codemonkey.ws On Fri, Mar 30, 2012 at 10:12:56AM +0200, Gerd Hoffmann wrote: > Hi, > > > +# @SpiceQueryMouseMode > > +# > > +# An enumation of Spice mouse states. > > +# > > +# @client: Mouse cursor position is determined by the client. > > +# > > +# @server: Mouse cursor position is determined by the server. > > +# > > +# @unknown: No information is available about mouse mode used by > > +# the spice server. > > +# > > +# Note: spice/enums.h has a SpiceMouseMode already, hence the name. > > I guess it makes sense then to just add "unknown" to the existing > SpiceMouseMode and reuse it ... hmm, actually that would require adding #include "spice/enums.h" to qapi-types.h, not sure that would be accepted happily - making qapi-types depend on spice.h must be controlled with an ifdef since spice can be disabled, and that means the schema would be different depending on the configuration options - I know we specifically don't change command line options based on configure flags, just the results of using them. > > cheers, > Gerd >