Skip to content

feat: add deadzone_hide option#660

Merged
Samillion merged 1 commit intomainfrom
feat_deadzone_hide
Apr 9, 2026
Merged

feat: add deadzone_hide option#660
Samillion merged 1 commit intomainfrom
feat_deadzone_hide

Conversation

@Samillion
Copy link
Copy Markdown
Owner

Fixes: #517

Changes:

  • Add deadzone_hide option, accepts: instant or timeout
    • instant: when you reach a deadzone or leave window, OSC will hide instantly, ignoring hidetimeout
    • timeout: when you reach a deadzone or leave window, OSC will reset its hidetimeout and hides normally
  • Enable the fadein option by default
  • A bit of restructure in osc_init() and validate_user_opts()

@Keith94
Copy link
Copy Markdown
Contributor

Keith94 commented Apr 9, 2026

Thanks for adding it. 🥳
Now it should please everyone's preferences lol.

@Samillion
Copy link
Copy Markdown
Owner Author

Indeed, it's definitely one of those things where both sides are right. Now we can have it all.

evil-laugh-gif-3

@Samillion
Copy link
Copy Markdown
Owner Author

@Samillion Awesome, let me know when it's merge ready, please.


@Samillion leave me alone, don't tell me what to do.

@Samillion Samillion merged commit c7d5ca4 into main Apr 9, 2026
@Samillion Samillion deleted the feat_deadzone_hide branch April 9, 2026 22:16
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.

Respect hidetimeout when cursor leaves window

2 participants