KZDKM / Hyprspace

Workspace overview plugin for Hyprland
GNU General Public License v2.0
285 stars 9 forks source link

Damage optimization #24

Open KZDKM opened 1 month ago

KZDKM commented 1 month ago

The plugin spams damageWindow on all windows whenver overview is open to fix rendering issues in #17. This is certainly not an optimized way of tracking damage and would waste GPU resource and possibly drain the battery a bit faster. Cant guess why would anyone leave the overview on for a significant amount of time, but it is best that this is fixed.

A possible workaround is setting all workspaces' isVisible flag to true when open but further investigation is needed.