Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intellihide: Fix unexpected unredirection disable with overview #2196

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

taoky
Copy link
Contributor

@taoky taoky commented Apr 16, 2024

When overview shows, this._animateIn is called in
_onOverviewShowing(). And when overview hides, _updateDashVisibility() might call this._animateIn() again, which makes the unredirection always disabled and brings performance issue in some cases.

This commit replaces the counter for unredirection by a boolean value, to make logic more clear, and disabling/enabling unredirection balanced.


Fixes #2192.

When overview shows, this._animateIn is called in
_onOverviewShowing(). And when overview hides, _updateDashVisibility()
might call this._animateIn() again, which makes the unredirection always
disabled and brings performance issue in some cases.

This commit replaces the counter for unredirection by a boolean value,
to make logic more clear, and disabling/enabling unredirection balanced.
@3v1n0 3v1n0 merged commit c398b93 into micheleg:master Apr 17, 2024
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.

Every 1/2 second or so during Steam (Proton) games, a dip in framerate
2 participants