linebender / glazier

Deprecated Rust Window Creation Library
Apache License 2.0
210 stars 33 forks source link

X11 doesn't repaint on resize. #80

Open derekdreery opened 1 year ago

derekdreery commented 1 year ago

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.

jneem commented 1 year ago

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.