From e038a22360b98796d64227a7f2c4c419e6c9fb5b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 13 Feb 2019 10:15:29 +1000 Subject: [PATCH] tools: draw the tablet before the touch points On the Dell Canvas Totem, the tool will cancel existing touch points and to visually debug that, we need the touchpoints to be drawn over the tool. Signed-off-by: Peter Hutterer --- tools/libinput-debug-gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libinput-debug-gui.c b/tools/libinput-debug-gui.c index cb32a69c..67c51b73 100644 --- a/tools/libinput-debug-gui.c +++ b/tools/libinput-debug-gui.c @@ -595,12 +595,12 @@ draw(GtkWidget *widget, cairo_t *cr, gpointer data) draw_evdev_rel(w, cr); draw_evdev_abs(w, cr); + draw_tablet(w, cr); draw_gestures(w, cr); draw_scrollbars(w, cr); draw_touchpoints(w, cr); draw_abs_pointer(w, cr); draw_buttons(w, cr); - draw_tablet(w, cr); draw_pointer(w, cr); return TRUE;