Revert "[core/output] fix logic error when using "autohide""
This reverts commit 74ecbb6ca8
.
This commit is contained in:
parent
74ecbb6ca8
commit
6a3e4761bf
1 changed files with 1 additions and 3 deletions
|
@ -229,11 +229,9 @@ class i3(object):
|
|||
for widget in module.widgets():
|
||||
if widget.module and self.__config.autohide(widget.module.name):
|
||||
if not any(
|
||||
state in widget.state() for state in ["warning", "critical"]
|
||||
state in widget.state() for state in ["warning", "critical", "mayhide"]
|
||||
):
|
||||
continue
|
||||
if "mayhide" in widget.state():
|
||||
continue
|
||||
if module.hidden():
|
||||
continue
|
||||
if widget.hidden:
|
||||
|
|
Loading…
Reference in a new issue