am 79897c0d: am 79ec2a15: Don\'t rely on window state when disabling the panel.

* commit '79897c0db03448c3465159999e1ffd0296e23cee':
  Don't rely on window state when disabling the panel.