wireshark/wireshark-0011-Disable-overlay-scrolling.patch
2015-06-29 09:58:33 +02:00

15 lines
567 B
Diff

diff --git a/ui/gtk/gui_utils.c b/ui/gtk/gui_utils.c
index 66f756f..f05f8de 100644
--- a/ui/gtk/gui_utils.c
+++ b/ui/gtk/gui_utils.c
@@ -770,6 +770,9 @@ setup_scrolled_window(GtkWidget *scrollw)
{
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrollw),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+#if GTK_CHECK_VERSION(3,16,0)
+ gtk_scrolled_window_set_overlay_scrolling(GTK_SCROLLED_WINDOW(scrollw), FALSE);
+#endif /* OVERLAY_SCROLLING */
scrolled_windows = g_list_append(scrolled_windows, scrollw);