diff --git a/protocol/wayland.xml b/protocol/wayland.xml index b204f133..e53b0197 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -2038,6 +2038,32 @@ + + + + + The ID provided will be initialized to the wl_keyboard interface + for this seat. + + This is an alternative to get_keyboard that informs the server of the + keymap formats supported by the client. The server selects one of the + provided format that it supports itself and may start to send keyboard + events. It is advised, but not mandatory, to respect the client’s order + of preference of the formats. + + TODO: what if none of the format is supported? + + This request only takes effect if the seat has the keyboard + capability, or has had the keyboard capability in the past. + It is a protocol violation to issue this request on a seat that has + never had the keyboard capability. The missing_capability error will + be sent in this case. + + + + + @@ -2649,22 +2675,6 @@ - - - Inform the server of the keymap formats supported by the client, in - ascending order. - - If none of the formats is supported by the server, then a - no_supported_keymap_format error is triggered. - - Otherwise the server selects one of the provided format that it supports - itself and may start to send keyboard events. It is advised, but not - mandatory, to select the format with most features. - - - -