On Sat, Jul 06, 2013 at 08:55:54PM +0200, Peter Maatman wrote:
> ---
>  clients/editor.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks, committed.  I updated the commit message a bit to better
explain what the patch does.

Kristian


> diff --git a/clients/editor.c b/clients/editor.c
> index 5404b19..b9579af 100644
> --- a/clients/editor.c
> +++ b/clients/editor.c
> @@ -946,8 +946,8 @@ text_entry_draw_cursor(struct text_entry *entry, cairo_t 
> *cr)
>                                   &cursor_pos, NULL);
>  
>       cairo_set_line_width(cr, 1.0);
> -     cairo_move_to(cr, PANGO_PIXELS(cursor_pos.x), 
> PANGO_PIXELS(extents.height) + 2);
> -     cairo_line_to(cr, PANGO_PIXELS(cursor_pos.x), - 2);
> +     cairo_move_to(cr, PANGO_PIXELS(cursor_pos.x), 
> PANGO_PIXELS(cursor_pos.y));
> +     cairo_line_to(cr, PANGO_PIXELS(cursor_pos.x), 
> PANGO_PIXELS(cursor_pos.y) + PANGO_PIXELS(cursor_pos.height));
>       cairo_stroke(cr);
>  }
>  
> -- 
> 1.8.3.2
> 
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to