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
..
ecolor Release 0.27.1 (#4264) 2024-03-29 13:12:26 +01:00
eframe eframe: Correctly identify if browser tab has focus (#4280) 2024-03-30 16:22:16 +01:00
egui Implement blinking text cursor in `TextEdit` (#4279) 2024-03-30 16:22:28 +01:00
egui-wgpu Release 0.27.1 (#4264) 2024-03-29 13:12:26 +01:00
egui-winit Fix continuous repaint on Wayland when TextEdit is focused or IME output is not None (#4269) 2024-03-30 17:14:58 +01:00
egui_demo_app Improve the UI for changing the egui theme (#4257) 2024-03-28 10:09:28 +01:00
egui_demo_lib Don't wrap the text in the `Frame` demo 2024-03-29 15:58:37 +01:00
egui_extras Release 0.27.1 (#4264) 2024-03-29 13:12:26 +01:00
egui_glow Release 0.27.1 (#4264) 2024-03-29 13:12:26 +01:00
egui_plot Release 0.27.1 (#4264) 2024-03-29 13:12:26 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Add some tests for `Rect` 2024-03-26 11:13:04 +01:00
epaint Overload operators for `Rect + Margin`, `Rect - Margin` etc (#4277) 2024-03-30 14:03:41 +01:00