diff --git a/platform/linuxbsd/wayland/wayland_thread.cpp b/platform/linuxbsd/wayland/wayland_thread.cpp index 8e3dc755818..4eaa932337d 100644 --- a/platform/linuxbsd/wayland/wayland_thread.cpp +++ b/platform/linuxbsd/wayland/wayland_thread.cpp @@ -197,10 +197,7 @@ bool WaylandThread::_seat_state_configure_key_event(SeatState &p_ss, Refset_window_id(DisplayServer::MAIN_WINDOW_ID); // Set all pressed modifiers. @@ -223,8 +224,6 @@ bool WaylandThread::_seat_state_configure_key_event(SeatState &p_ss, Refset_physical_keycode(physical_keycode); p_event->set_location(key_location); - uint32_t unicode = xkb_state_key_get_utf32(p_ss.xkb_state, p_keycode); - if (unicode != 0) { p_event->set_key_label(fix_key_label(unicode, keycode)); } else {