x11: implement true cursor area with XNArea attribute
This commit is contained in:
parent
16d5f46db1
commit
a0464ae83b
7 changed files with 46 additions and 36 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue