linebender / glazier

Deprecated Rust Window Creation Library
Apache License 2.0
206 stars 32 forks source link

Support timers on Wayland #150

Closed DJMcNab closed 1 year ago

DJMcNab commented 1 year ago

This was luckily really simple.

I've also added support for a blinking cursor to the edit_text example, to test out this functionality.

Reporting when/how to blink the cursor is a bit of an open question at the moment - it could even be the responsibility of the IME (via the input lock system?). But that can be improved later

DJMcNab commented 1 year ago

I don't think so? Any locking is internal to the loop registration (and I don't believe we re-entrantly call app handlers within any registration methods)