### Godot version

4.0.3.stable

### System information

windows 11

### Issue description

fullscreen on the window node is not working and will show up as a windowed.

### Steps to reproduce

disable Embed Subwindows in Project Settings/Display/Window.
create a window node and set its mode to fullscreen.

### Minimal reproduction project

[fullscreen.zip](https://github.com/godotengine/godot/files/11821834/fullscreen.zip)
ss.s = shortcut_str;
				String errs;
				int line;
				VariantParser::parse(&ss, shortcut_var, errs, line);
				debugger_stop_shortcut = shortcut_var;
			}
			if (debugger_stop_shortcut.is_null()) {
				
				debugger_stop_shortcut.instantiate();
				debugger_stop_shortcut->set_events({ (Variant)InputEventKey::create_reference(Key::F8) });
			}
		}
		Ref<InputEventKey> k = p_ev;
		if (k.is_valid() && k->is_pressed() && !k->is_echo() && debugger_stop_shortcut->matches_event(k)) {
			EngineDebugger::get_singleton()->send_message("request_quit", Array());
		}
	}
	if (exclusive_child != nullptr) {
		if (!is_embedding_subwindows()) { 
			return;
		}
	}
	if (p_ev->get_device() != InputEvent::DEVICE_ID_INTERNAL) {
		emit_signal(SceneStringNames::get_singleton()->window_input, p_ev);
	}
	if (is_inside_tree()) {
		push_input(p_ev);
	}
}
void Window::_window_input_text(const String &p_text) {