text-input: add input method abstraction
This commit is contained in:
parent
26988f5ce5
commit
881fb24878
8 changed files with 122 additions and 45 deletions
|
|
@ -955,7 +955,7 @@ pub fn create_render_pass(
|
|||
for seat in seats.values() {
|
||||
let (x, y) = seat.pointer_cursor().position_int();
|
||||
if let Some(im) = seat.input_method() {
|
||||
for (_, popup) in &im.popups {
|
||||
for (_, popup) in im.popups() {
|
||||
if popup.surface.node_visible() {
|
||||
let pos = popup.surface.buffer_abs_pos.get();
|
||||
let extents = popup.surface.extents.get().move_(pos.x1(), pos.y1());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue