From e0008d3dc270b2ace5fa9829c918c49017bad762 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 14 Feb 2019 13:01:39 +1000 Subject: [PATCH] tools: debug-gui: change the tablet color Grey isn't pretty enough Signed-off-by: Peter Hutterer --- tools/libinput-debug-gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libinput-debug-gui.c b/tools/libinput-debug-gui.c index f8ddb34d..2f24f8f6 100644 --- a/tools/libinput-debug-gui.c +++ b/tools/libinput-debug-gui.c @@ -436,7 +436,7 @@ draw_tablet(struct window *w, cairo_t *cr) /* tablet tool, square for prox-in location */ cairo_save(cr); - cairo_set_source_rgb(cr, .8, .8, .8); + cairo_set_source_rgb(cr, .2, .6, .6); if (w->tool.x_in && w->tool.y_in) { cairo_rectangle(cr, w->tool.x_in - 15, w->tool.y_in - 15, 30, 30); cairo_stroke(cr); @@ -453,7 +453,7 @@ draw_tablet(struct window *w, cairo_t *cr) } if (w->tool.pressure) - cairo_set_source_rgb(cr, .8, .8, .2); + cairo_set_source_rgb(cr, .2, .8, .8); cairo_translate(cr, w->tool.x, w->tool.y); cairo_scale(cr, 1.0 + w->tool.tilt_x/30.0, 1.0 + w->tool.tilt_y/30.0);