From 7f3bfab6d6a8b3417b2bf9be45a048056e5b2762 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Wed, 25 Nov 2020 21:42:51 +0100 Subject: [PATCH] options_themepv: ease CPU usage, do not blink the cursor --- src/bin/options_themepv.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/options_themepv.c b/src/bin/options_themepv.c index bacf30a7..1dbdafc4 100644 --- a/src/bin/options_themepv.c +++ b/src/bin/options_themepv.c @@ -345,7 +345,10 @@ options_theme_preview_add(Evas_Object *parent, o = elm_layout_add(parent); theme_apply(o, config, "terminology/cursor", file, cs, EINA_TRUE); - elm_layout_signal_emit(o, "focus,in", "terminology"); + if (colors_mode) + elm_layout_signal_emit(o, "focus,in,noblink", "terminology"); + else + elm_layout_signal_emit(o, "focus,in", "terminology"); evas_object_show(o); evas_object_data_set(oo, "cursor", o); elm_grid_pack(oo, o, 0, 0, 10, 10);