[Spice-devel] [PATCH spice-gtk] Inputs: fix documentation for spice_inputs_channel_motion()

Jonathon Jongsma jjongsma at redhat.com
Mon Dec 11 20:51:20 UTC 2017


ping

Seems this one got forgotten?



On Wed, 2017-09-27 at 16:09 -0500, Jonathon Jongsma wrote:
> This function is used in server mode, and
> spice_inputs_channel_position() is used in client mode.
> ---
>  src/channel-inputs.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/channel-inputs.c b/src/channel-inputs.c
> index 75bf1ff..07fc765 100644
> --- a/src/channel-inputs.c
> +++ b/src/channel-inputs.c
> @@ -283,7 +283,7 @@ static void
> channel_set_handlers(SpiceChannelClass *klass)
>   * @dy: delta Y mouse coordinates
>   * @button_state: SPICE_MOUSE_BUTTON_MASK flags
>   *
> - * Change mouse position (used in SPICE_MOUSE_MODE_CLIENT).
> + * Change mouse position (used in SPICE_MOUSE_MODE_SERVER).
>   *
>   * Deprecated: 0.35: use spice_inputs_channel_motion() instead.
>   **/
> @@ -300,7 +300,7 @@ void spice_inputs_motion(SpiceInputsChannel
> *channel, gint dx, gint dy,
>   * @dy: delta Y mouse coordinates
>   * @button_state: SPICE_MOUSE_BUTTON_MASK flags
>   *
> - * Change mouse position (used in SPICE_MOUSE_MODE_CLIENT).
> + * Change mouse position (used in SPICE_MOUSE_MODE_SERVER).
>   *
>   * Since: 0.35
>   **/


More information about the Spice-devel mailing list