diff options
| author | Julian Orth <ju.orth@gmail.com> | 2024-09-06 13:28:07 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-09-10 07:36:48 +0000 |
| commit | 7c6259e9ad7562d824b024975b80e471b365d5fc (patch) | |
| tree | 8c3c9238a15755b8cf820067cc63cf2349f0feb2 | |
| parent | connection: Reject strings containing NUL bytes (diff) | |
| download | wayland-7c6259e9ad7562d824b024975b80e471b365d5fc.tar wayland-7c6259e9ad7562d824b024975b80e471b365d5fc.tar.gz wayland-7c6259e9ad7562d824b024975b80e471b365d5fc.tar.bz2 wayland-7c6259e9ad7562d824b024975b80e471b365d5fc.tar.lz wayland-7c6259e9ad7562d824b024975b80e471b365d5fc.tar.xz wayland-7c6259e9ad7562d824b024975b80e471b365d5fc.tar.zst wayland-7c6259e9ad7562d824b024975b80e471b365d5fc.zip | |
protocol: clients should not emulate key-press events on enter
The previous change introducing the logical state caused some confusion.
Clarify that most application should not use the list of pressed keys.
Signed-off-by: Julian Orth <ju.orth@gmail.com>
| -rw-r--r-- | protocol/wayland.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 9418c62..3b279a0 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -2479,6 +2479,9 @@ the surface argument and the keys currently logically down to the keys in the keys argument. The compositor must not send this event if the wl_keyboard already had an active surface immediately before this event. + + Clients should not use the list of pressed keys to emulate key-press + events. The order of keys in the list is unspecified. </description> <arg name="serial" type="uint" summary="serial number of the enter event"/> <arg name="surface" type="object" interface="wl_surface" summary="surface gaining keyboard focus"/> |
