Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix continuous repaint on Wayland when TextEdit is focused or IME out…
…put is not None (#4269) * Closes #4254 Changes egui-winit so that it calls `window.set_ime_cursor_area` when the IME rect changes or the user interacts with the application instead of calling it every time the app is rendered. This works around a winit bug that causes the app to continuously repaint under certain circumstances on Wayland. Tested on Wayland and on X11 using the text edit in the egui_demo_app - no changes in IME functionality as far as I can tell. Untested on non-Linux platforms. --------- Co-authored-by: Emil Ernerfeldt <[email protected]>
- Loading branch information