Skip to content

Fixed panic when expire_timeout is zero - #16

Merged
codelif merged 1 commit into
codelif:mainfrom
TalonsOfStealth:main
Jun 3, 2026
Merged

Fixed panic when expire_timeout is zero#16
codelif merged 1 commit into
codelif:mainfrom
TalonsOfStealth:main

Conversation

@TalonsOfStealth

Copy link
Copy Markdown
Contributor

There was an issue I reported where hyprnotify would panic when given a expire_timeout of zero. I updated the notify function so that when it gets zero, or any other invalid integer it defaults to the integer limit to make the notification essentially permanent since hyprland seemingly doesn't support permanent notifications.

@codelif

codelif commented Jun 3, 2026

Copy link
Copy Markdown
Owner

LGTM!

Thanks for your contribution!!

@codelif
codelif merged commit 1acdccc into codelif:main Jun 3, 2026
1 check passed
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