On Mon, Feb 8, 2016 at 7:38 AM, Rui Tiago Cação Matos <[email protected]>
wrote:

>
> > +    <request name="set_cursor_rectangle">
> > +      <description summary="set cursor position">
> > +       Sets the cursor outline as a rectangle relative to the surface.
> > +
> > +       Allows the compositor to put a window with word suggestions near
> the
> > +       cursor.
> > +      </description>
> > +      <arg name="x" type="int"/>
> > +      <arg name="y" type="int"/>
> > +      <arg name="width" type="int"/>
> > +      <arg name="height" type="int"/>
>
> These arguments could, and perhaps should, all be type="uint" .
>

The x and y have to be signed. Imagine if the client is scrolled in such a
way that the cursor rectangle is partially outside the surface.
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to