Merge branch 'backport-mr-5148-to-gtk-3-24' into 'gtk-3-24'

label: Tweak selection behavior

See merge request GNOME/gtk!5289
This commit is contained in:
Matthias Clasen 2022-12-03 23:11:02 +00:00
commit e95f0aa73b

View File

@ -5222,7 +5222,8 @@ gtk_label_drag_gesture_begin (GtkGestureDrag *gesture,
{
if (min < max && min <= index && index <= max)
{
info->in_drag = TRUE;
if (!info->select_words)
info->in_drag = TRUE;
info->drag_start_x = start_x;
info->drag_start_y = start_y;
}