egui/crates/egui-winit
刘皓 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
..
src Fix continuous repaint on Wayland when TextEdit is focused or IME output is not None (#4269) 2024-03-30 17:14:58 +01:00
CHANGELOG.md Release 0.27.1 (#4264) 2024-03-29 13:12:26 +01:00
Cargo.toml Update memoffset to 0.9.0, arboard to 3.3.1, and remove egui_glow's needless dependency on pure_glow's deps (#4036) 2024-02-13 10:32:18 +01:00
README.md Remove misleading safety-badges 2023-02-28 22:35:08 +01:00

README.md

egui-winit

Latest version Documentation MIT Apache

This crates provides bindings between egui and winit.

The library translates winit events to egui, handled copy/paste, updates the cursor, open links clicked in egui, etc.