mirror of https://github.com/emilk/egui.git
Browse Source
* 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 <emil.ernerfeldt@gmail.com>pull/4282/head
刘皓
7 months ago
committed by
GitHub
1 changed files with 21 additions and 12 deletions
Loading…
Reference in new issue