Merge pull request #515 from tomty89/not_none

Fix hide_window keybinding unset check
This commit is contained in:
Matt Rose 2021-11-02 16:59:02 -04:00 committed by GitHub
commit 62e111d8df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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(