From 4c83feaf5d1dd4d46b9eea25915e3c7b3cba9bca Mon Sep 17 00:00:00 2001 From: Mark Timarev Date: Thu, 22 Jul 2021 17:07:57 +0300 Subject: [PATCH] Set CAN_FOCUS to False for notebook widgets --- terminatorlib/notebook.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terminatorlib/notebook.py b/terminatorlib/notebook.py index 6eaae6c6..e7345a52 100644 --- a/terminatorlib/notebook.py +++ b/terminatorlib/notebook.py @@ -39,6 +39,8 @@ class Notebook(Container, Gtk.Notebook): self.connect('scroll-event', self.on_scroll_event) self.configure() + self.set_can_focus(False) + child = window.get_child() window.remove(child) window.add(self)