### Godot version

Latest 4.0.dev (a3a42159e31db27f8ae7c1ecad6a9ed417cb05de)

### System information

Ubuntu 22.04.1 LTS

### Issue description

Ctrl+Shift+F (Find in Files) in the text editor, for example, causes my laptop to freeze consistently. I also reproduced it with F1 and Ctrl+Shift+R, as well as by using the dropdown instead of shortcuts.

### Steps to reproduce

Trivial

### Minimal reproduction project

N/A
ERR_FAIL_COND(!tts);
	tts->resume();
}
void DisplayServerX11::tts_stop() {
	ERR_FAIL_COND(!tts);
	tts->stop();
}
#endif
#ifdef DBUS_ENABLED
bool DisplayServerX11::is_dark_mode_supported() const {
	return portal_desktop->is_supported();
}
bool DisplayServerX11::is_dark_mode() const {
	switch (portal_desktop->get_appearance_color_scheme()) {
		case 1:
			
			return true;
		case 2:
			
			return false;
		default:
			
			return false;
	}
}
#endif
void DisplayServerX11::mouse_set_mode(MouseMode p_mode) {