Commit 0840f13c authored by Timm Bäder's avatar Timm Bäder 🤔 Committed by Matthias Clasen

gtklabel: Set the correct initial cursor

Use GDK_XTERM only if the label is really selectable.
parent 3780fc78
......@@ -5198,7 +5198,7 @@ gtk_label_create_window (GtkLabel *label)
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_NOREDIR;
if (gtk_widget_is_sensitive (widget))
if (gtk_widget_is_sensitive (widget) && priv->select_info && priv->select_info->selectable)
attributes.cursor = gdk_cursor_new_for_display (gtk_widget_get_display (widget),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment