diff options
-rw-r--r-- | plugins/screen_detach.py | 2 | ||||
-rw-r--r-- | src/core/core.py | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/plugins/screen_detach.py b/plugins/screen_detach.py index b51b5c2d..793575d8 100644 --- a/plugins/screen_detach.py +++ b/plugins/screen_detach.py @@ -100,7 +100,7 @@ class Plugin(BasePlugin, pyinotify.Notifier): self.attached = attached status = 'available' if self.attached else 'away' self.core.command_status(status) - if sef.config.get('use_csi'): + if self.config.get('use_csi'): if self.attached: self.core.xmpp.plugin['xep_0352'].send_active() else: diff --git a/src/core/core.py b/src/core/core.py index 7b078569..cf2cfc2e 100644 --- a/src/core/core.py +++ b/src/core/core.py @@ -1540,12 +1540,7 @@ class Core(object): self.information_win_size+nb >= self.current_tab().height-4 or\ self.size.core_degrade_y: return 0 - if self.information_win_size == 14: - return 0 self.information_win_size += nb - if self.information_win_size > 14: - nb = nb - (self.information_win_size - 14) - self.information_win_size = 14 self.resize_global_information_win() for tab in self.tabs: tab.on_info_win_size_changed() |