Skip to content

Draft: Dont update if hidden

This is the counterpart of xfce/xfce4-panel!159 (merged). Please read the description over there.

Changes proposed

  • Adds a toggle in the GUI that says "Don't render if hidden" (off by default)
  • Subscribes to the proposed new hidden signal of xfce-panel
  • Skips calling DisplayCmdOutput () when hidden=true and the setting is on
  • Do call DisplayCmdOutput () on receiving the hidden=false signal and on timer periods while not hidden

As said on the other PR, I'm not a C developer and I probably missed some things. Please advise.

Manually tested on Arch Linux x86_64 X11.

Merge request reports

Loading