From 7cd7c73c5385427c1a2e33903d3b949288ba6e3c Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Fri, 19 Jun 2015 03:15:33 +0200 Subject: [PATCH] First fix to prevent double click on scrollbar rebalancing splits broke scrollbars, so this limits the interception to double clicks only. --- terminatorlib/terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index ed8b6869..c5a2f3d2 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -864,7 +864,7 @@ class Terminal(gtk.VBox): # Any button event should grab focus widget.grab_focus() - if type(widget) == gtk.VScrollbar: + if type(widget) == gtk.VScrollbar and event.type == gtk.gdk._2BUTTON_PRESS: # Suppress double-click behavior return True