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

fix: remove instant repain method when resizing #212

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Conversation

wusyong
Copy link
Member

@wusyong wusyong commented Oct 29, 2024

In #194 (comment), we found that both wayland and x11 are struggle to render when resizing. I also noticed this weeks ago and tried to find the root cause. And it turned out to be the repaint_synchronously method when resizing. It can block the loop if there are too many messages which results in flickering or flashing. Since we now have our own compositor and I have better control on when to render, this method could be removed already.

@wusyong wusyong requested a review from pewsheen October 29, 2024 04:22
@pewsheen pewsheen enabled auto-merge October 29, 2024 04:33
@pewsheen pewsheen added this pull request to the merge queue Oct 29, 2024
Merged via the queue into main with commit 9955988 Oct 29, 2024
6 checks passed
@pewsheen pewsheen deleted the no-instant-repaint branch October 29, 2024 05:17
@pewsheen
Copy link
Collaborator

pewsheen commented Nov 8, 2024

#194

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