[PATCH v4 wayland-protocols] text: Create second version of text input protocol

Bill Spitzak spitzak at gmail.com
Mon Feb 8 18:07:07 UTC 2016


On Mon, Feb 8, 2016 at 7:38 AM, Rui Tiago Cação Matos <tiagomatos at gmail.com>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160208/bb2396ec/attachment-0001.html>


More information about the wayland-devel mailing list