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



commit 8836b1139eb0b58dbcf1e7e4098f9bc6bab40de2
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 c82fcf792e..6c4fc48fca 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -1632,6 +1632,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]