1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00
Files
egui/crates
刘皓 33221bd4dd Fix continuous repaint on Wayland when TextEdit is focused or IME output 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 <emil.ernerfeldt@gmail.com>
2024-03-30 17:14:58 +01:00
..
2024-03-29 13:12:26 +01:00
2024-03-29 13:12:26 +01:00
2024-03-29 13:12:26 +01:00
2024-03-29 13:12:26 +01:00
2023-04-18 15:52:45 +02:00
2024-03-29 13:12:26 +01:00
2024-03-26 11:13:04 +01:00