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 😅
This commit is contained in:
Dery Almas 2026-01-18 09:23:37 +01:00
parent 481f36ed20
commit 3a2a53f901

View file

@ -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;