[gtk/wayland-key-repeat: 47/98] textview: Make cursor work when blinking is disabled
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wayland-key-repeat: 47/98] textview: Make cursor work when blinking is disabled
- Date: Wed, 30 Oct 2019 02:01:13 +0000 (UTC)
commit b7bdf99f543c5157d0be039052f246b80019c4ff
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]