### 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)
SetCursorPos(pos.x, pos.y);
			SetCapture(wd.hWnd);
			_register_raw_input_devices(window_id);
		}
	} else {
		
		ReleaseCapture();
		ClipCursor(nullptr);
		_register_raw_input_devices(INVALID_WINDOW_ID);
	}
	if (p_mode == MOUSE_MODE_HIDDEN || p_mode == MOUSE_MODE_CAPTURED || p_mode == MOUSE_MODE_CONFINED_HIDDEN) {
		if (hCursor == nullptr) {
			hCursor = SetCursor(nullptr);
		} else {
			SetCursor(nullptr);
		}
	} else {
		CursorShape c = cursor_shape;
		cursor_shape = CURSOR_MAX;
		cursor_set_shape(c);
	}
}
DisplayServer::WindowID DisplayServerWindows::_get_focused_window_or_popup() const {
	const List<WindowID>::Element *E = popup_list.back();
	if (E) {
		return E->get();
	}
	return last_focused_window;
}
void DisplayServerWindows::_register_raw_input_devices(WindowID p_target_window) {