projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0e14f7
)
Initialize cursor alpha to 1.0
author
Benjamin Otte
<otte@redhat.com>
Wed, 16 Oct 2019 13:02:52 +0000
(15:02 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 16 Oct 2019 19:45:33 +0000
(21:45 +0200)
That way, non-animated cursors don't disappear.
gtk/gtktext.c
patch
|
blob
|
history
diff --git
a/gtk/gtktext.c
b/gtk/gtktext.c
index 6627fee23e7dea9ab7301f9547a61c970233ef68..ff5a942fbde11eceb9a7e55c30f6b02c1c652d27 100644
(file)
--- a/
gtk/gtktext.c
+++ b/
gtk/gtktext.c
@@
-1681,6
+1681,7
@@
gtk_text_init (GtkText *self)
priv->truncate_multiline = FALSE;
priv->xalign = 0.0;
priv->insert_pos = -1;
+ priv->cursor_alpha = 1.0;
priv->selection_content = g_object_new (GTK_TYPE_TEXT_CONTENT, NULL);
GTK_TEXT_CONTENT (priv->selection_content)->self = self;