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



commit fd8a632d3c6794045f146bb887de82907cf37b38
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]