### Godot version

v4.0.beta15.official [4fa6edc88] and v4.0.beta.custom_build [1bf7b84fb]

### System information

openSUSE Tumbleweed 20230125, KDE Plasma 5.26.5, Wayland session

### Issue description

https://user-images.githubusercontent.com/110809639/214688115-ce2c8f95-3849-4ee5-b6be-f8e58dbd8036.mp4

It's not possible to rename any node while using wayland session under my linux distro. Using Godot 4 beta15. Tried changing keyboard layout and same result. If I swith to X11 session then it works. Also beta14 doesn't have this problem with wayland session.

### Steps to reproduce

Literally try to rename any node under wayland session with beta15

### Minimal reproduction project

n/a
}
				xi.state.clear();
#endif
			} break;
			case ConfigureNotify: {
				DEBUG_LOG_X11("[%u] ConfigureNotify window=%lu (%u), event=%lu, above=%lu, override_redirect=%u \n", frame, event.xconfigure.window, window_id, event.xconfigure.event, event.xconfigure.above, event.xconfigure.override_redirect);
				if (event.xconfigure.window == windows[window_id].x11_xim_window) {
					break;
				}
				const WindowData &wd = windows[window_id];
				XWindowAttributes xwa;
				XSync(x11_display, False);
				XGetWindowAttributes(x11_display, wd.x11_window, &xwa);
				
				
				
				if ((xwa.map_state == IsViewable) && !wd.no_focus && !wd.is_popup) {
					XSetInputFocus(x11_display, wd.x11_window, RevertToPointerRoot, CurrentTime);
				}
				_window_changed(&event);
			} break;
			case ButtonPress:
			case ButtonRelease: {
				if (ime_window_event) {
					break;
				}
				
				last_timestamp = event.xbutton.time;
				if (mouse_mode == MOUSE_MODE_CAPTURED) {
					event.xbutton.x = last_mouse_pos.x;