[gtk/wip/otte/listview: 56/135] textview: Make cursor work when blinking is disabled



commit d6d3275efe8555ff226f706624376d9530715ffb
Author: Benjamin Otte <otte redhat com>
Date:   Tue Oct 8 21:16:25 2019 +0200

    textview: Make cursor work when blinking is disabled

 gtk/gtktextview.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 0c1282c011..d4c43d164d 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -1650,6 +1650,7 @@ gtk_text_view_init (GtkTextView *text_view)
   priv->indent = 0;
   priv->tabs = NULL;
   priv->editable = TRUE;
+  priv->cursor_alpha = 1.0;
 
   priv->scroll_after_paste = FALSE;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]