TextArea: Mouse grab on click is not disabled anymore.

[GB.GTK]
* BUG: TextArea: Mouse grab on click is not disabled anymore.

[GB.GTK3]
* BUG: TextArea: Mouse grab on click is not disabled anymore.
This commit is contained in:
Benoît Minisini 2023-10-26 03:51:39 +02:00
parent d8cba912af
commit 89a2c884f9

View file

@ -2005,7 +2005,7 @@ void gControl::realizeScrolledWindow(GtkWidget *wid, bool doNotRealize)
gtk_widget_set_redraw_on_allocate(border, TRUE);
widget = wid;
frame = border;
_no_auto_grab = true;
//_no_auto_grab = true;
//gtk_container_add(GTK_CONTAINER(border), GTK_WIDGET(_scroll));
gtk_scrolled_window_set_policy(_scroll, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);