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:
parent
481f36ed20
commit
3a2a53f901
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue