This is an automated email from the git hooks/post-receive script.

git pushed a commit to reference refs/pull/218/head
in repository enlightenment.

View the commit online.

commit 9b4d356efbe9309c382855be7fdced05a2288d53
Author: Cedric BAIL <[email protected]>
AuthorDate: Fri Nov 27 18:19:17 2026 -0600

    e_comp_wl_input - let a generated key event be BackSpace
    
    e_comp_wl_input_keyboard_event_generate() takes a character, or one of
    a few key names such as Return and Escape. Anything else is sent with
    no key at all, so a test asking wl_test for BackSpace typed nothing.
    The pinyin tests that follow need it, to take back a letter that
    reached the field before the input method had the keyboard.
    
    The other caller is mouse_to_key in e_actions.c, which turns a mouse
    button into a key and can now send BackSpace too. It is only
    registered when E is a Wayland compositor.
    
    The fcitx5 test now sends BackSpace through fcitx5 as well, and fails
    without this. Tested with the default suite, the x11 suite and wlcs,
    which fails the same 15 tests as without this change.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 src/bin/e_comp_wl_input.c       | 3 +++
 src/tests/wayland/test_fcitx5.c | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c
index 7acf1de06..4f1f5d413 100644
--- a/src/bin/e_comp_wl_input.c
+++ b/src/bin/e_comp_wl_input.c
@@ -995,6 +995,9 @@ e_comp_wl_input_keyboard_event_generate(const char *key, int mods, Eina_Bool up)
            "Return",
            "RTRN",
 
+           "BackSpace",
+           "BKSP",
+
            "Caps_Lock",
            "CAPS",
         };
diff --git a/src/tests/wayland/test_fcitx5.c b/src/tests/wayland/test_fcitx5.c
index 5f1a30f04..8a97cadff 100644
--- a/src/tests/wayland/test_fcitx5.c
+++ b/src/tests/wayland/test_fcitx5.c
@@ -13,6 +13,7 @@
 #define PROG "test-fcitx5"
 #define APP_ID "e.test.fcitx5"
 
+/* fcitx5 hands back text and editing keys alike. */
 static const struct
 {
    const char *name;
@@ -20,6 +21,7 @@ static const struct
 } _keys[] =
 {
    { "a", KEY_A },
+   { "BackSpace", KEY_BACKSPACE },
 };
 
 static struct wl_test *tester;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to