billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=7f3bfab6d6a8b3417b2bf9be45a048056e5b2762

commit 7f3bfab6d6a8b3417b2bf9be45a048056e5b2762
Author: Boris Faure <[email protected]>
Date:   Wed Nov 25 21:42:51 2020 +0100

    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 bacf30a..1dbdafc 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);

-- 


Reply via email to