Fix frozen show/hide hotkey

this doesn't fix the focus_if_open feature which doesnt work
(unable to retrieve the current active windows)

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>