forked from AuroraMiddleware/gtk
text: Reset cursor opacity when unmapping
Otherwise we might get mapped again with a half-transparent cursor.
This commit is contained in:
parent
108aac9ee3
commit
c38c5c4ce1
@ -2062,6 +2062,8 @@ gtk_text_unmap (GtkWidget *widget)
|
||||
_gtk_text_handle_set_mode (priv->text_handle,
|
||||
GTK_TEXT_HANDLE_MODE_NONE);
|
||||
|
||||
priv->cursor_alpha = 1.0;
|
||||
|
||||
GTK_WIDGET_CLASS (gtk_text_parent_class)->unmap (widget);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user