Fix hide_window keybinding unset check

We use empty string for unset, not None
This commit is contained in:
Tom Yan 2021-09-19 13:39:55 +08:00
parent 5f8dabfd0c
commit 3c33a7770d
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Window(Container, Gtk.Window):
# Attempt to grab a global hotkey for hiding the window.
# If we fail, we'll never hide the window, iconifying instead.
if self.config['keybindings']['hide_window'] != None:
if self.config['keybindings']['hide_window'] != '':
if display_manager() == 'X11':
try:
self.hidebound = Keybinder.bind(