TextInput: handle multiple text inputs correctly
The protocol states that we must send enter and leave to all text input objects if the client has created multiple. Only one text input is allowed to be activated by the client per seat however.
This commit is contained in:
@ -197,7 +197,7 @@ fn handleNewInputMethod(
|
||||
log.debug("new input method on seat {s}", .{relay.seat.wlr_seat.name});
|
||||
|
||||
if (seat.focused.surface()) |surface| {
|
||||
relay.setSurfaceFocus(surface);
|
||||
relay.focus(surface);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user