[PATCH 2/4] editor: make selection a lighter shade of blue, much easier to read

Philipp Brüschweiler blei42 at gmail.com
Tue Oct 2 02:06:52 PDT 2012


---
 clients/editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/editor.c b/clients/editor.c
index c656b06..7140e53 100644
--- a/clients/editor.c
+++ b/clients/editor.c
@@ -639,7 +639,7 @@ text_entry_draw_selection(struct text_entry *entry, cairo_t *cr)
 
 	cairo_save (cr);
 
-	cairo_set_source_rgba(cr, 0.0, 0.0, 1.0, 1.0);
+	cairo_set_source_rgba(cr, 0.3, 0.3, 1.0, 0.5);
 	cairo_rectangle(cr,
 			start.x, extents.y_bearing + extents.height + 2,
 			end.x - start.x, -extents.height - 4);
-- 
1.7.12.2



More information about the wayland-devel mailing list