Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

X11 doesn't repaint on resize. #80

Open
richard-uk1 opened this issue Mar 29, 2023 · 1 comment
Open

X11 doesn't repaint on resize. #80

richard-uk1 opened this issue Mar 29, 2023 · 1 comment
Labels
backend:x11 bug Something isn't working

Comments

@richard-uk1
Copy link
Collaborator

richard-uk1 commented Mar 29, 2023

If you resize the window, it doesn't repaint until some other trigger (e.g. mouse over a button).

Needs repro - I've only seen it on my machine so far. Might be an issue with my setup, might not.

@richard-uk1 richard-uk1 added the bug Something isn't working label Mar 29, 2023
@jneem
Copy link
Collaborator

jneem commented Apr 1, 2023

Do you have an example showing this behavior? I modified wgpu-triangle to remove the painting from the idle callback and the schedule_paint from the paint callback. That way, it no longer repaints repeatedly. But I still get paint calls when resizing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backend:x11 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants