x11: implement true cursor area with XNArea attribute

This commit is contained in:
Aaron Muir Hamilton 2025-03-11 14:04:50 -04:00 committed by GitHub
parent 16d5f46db1
commit a0464ae83b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 46 additions and 36 deletions

View file

@ -89,8 +89,8 @@ impl EventProcessor {
let ime = ime.get_mut();
match request {
ImeRequest::Position(window_id, x, y) => {
ime.send_xim_spot(window_id, x, y);
ImeRequest::Area(window_id, x, y, w, h) => {
ime.send_xim_area(window_id, x, y, w, h);
},
ImeRequest::Allow(window_id, allowed) => {
ime.set_ime_allowed(window_id, allowed);