From 3a2a53f9014e55f9555cd8740e9f134489dd49c8 Mon Sep 17 00:00:00 2001 From: Dery Almas Date: Sun, 18 Jan 2026 09:23:37 +0100 Subject: [PATCH] Wayland: Fix IME The spec tells us to ignore certain events if we didn't get an `enter` event first. Certainly we need to at least acknowledge the `enter` event itself :sweat_smile: --- platform/linuxbsd/wayland/wayland_thread.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/platform/linuxbsd/wayland/wayland_thread.cpp b/platform/linuxbsd/wayland/wayland_thread.cpp index 8fb7ecf4d3c..a5f9b951d9a 100644 --- a/platform/linuxbsd/wayland/wayland_thread.cpp +++ b/platform/linuxbsd/wayland/wayland_thread.cpp @@ -3035,10 +3035,6 @@ void WaylandThread::_wp_text_input_on_enter(void *data, struct zwp_text_input_v3 return; } - if (ss->ime_window_id == DisplayServer::INVALID_WINDOW_ID) { - return; - } - WindowState *ws = wl_surface_get_window_state(surface); if (!ws) { return;