Remove windows specific dnd disable (#2474)

This commit is contained in:
Okko Hakola 2024-02-20 14:23:30 +02:00 committed by GitHub
parent 7b17d590a7
commit c90c6e87c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,13 +51,6 @@ impl VulkanoWindows {
window_descriptor: &WindowDescriptor, window_descriptor: &WindowDescriptor,
swapchain_create_info_modify: fn(&mut SwapchainCreateInfo), swapchain_create_info_modify: fn(&mut SwapchainCreateInfo),
) -> winit::window::WindowId { ) -> winit::window::WindowId {
#[cfg(target_os = "windows")]
let mut winit_window_builder = {
use winit::platform::windows::WindowBuilderExtWindows;
winit::window::WindowBuilder::new().with_drag_and_drop(false)
};
#[cfg(not(target_os = "windows"))]
let mut winit_window_builder = winit::window::WindowBuilder::new(); let mut winit_window_builder = winit::window::WindowBuilder::new();
winit_window_builder = match window_descriptor.mode { winit_window_builder = match window_descriptor.mode {