Skip to content

Fix constant rerender bug in icons - #110

Merged
vaxerski merged 2 commits into
hyprwm:mainfrom
BlueZeeKing:icon-fix
Jul 29, 2026
Merged

Fix constant rerender bug in icons#110
vaxerski merged 2 commits into
hyprwm:mainfrom
BlueZeeKing:icon-fix

Conversation

@BlueZeeKing

Copy link
Copy Markdown
Contributor
  • icons: populate the scalable variable
  • image: don't rerender a non scalable icon when size changes

Currently, if an icon texture is not the exact size of the element, it is
rerendered every frame, which is the correct behavior for svg icons, but not png
or other types.

Comment thread src/system/Icons.hpp Outdated

@vaxerski vaxerski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tnx

@vaxerski
vaxerski merged commit 08aed5d into hyprwm:main Jul 29, 2026
2 checks passed
@BlueZeeKing
BlueZeeKing deleted the icon-fix branch August 3, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants