mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 19:10:42 +01:00
tools: draw the circle for abs events in the right position
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
fccbe88f05
commit
3758f38bfd
1 changed files with 1 additions and 2 deletions
|
|
@ -142,8 +142,7 @@ draw(GtkWidget *widget, cairo_t *cr, gpointer data)
|
|||
cairo_set_source_rgb(cr, .2, .4, .8);
|
||||
|
||||
cairo_save(cr);
|
||||
cairo_move_to(cr, w->absx, w->absy);
|
||||
cairo_arc(cr, 0, 0, 10, 0, 2 * M_PI);
|
||||
cairo_arc(cr, w->absx, w->absy, 10, 0, 2 * M_PI);
|
||||
cairo_fill(cr);
|
||||
cairo_restore(cr);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue