diff --git a/src/clipboard.rs b/src/clipboard.rs index baad5f01..05ed9e21 100644 --- a/src/clipboard.rs +++ b/src/clipboard.rs @@ -5,7 +5,6 @@ use crate::win as platform; #[cfg(target_os = "linux")] use crate::x11 as platform; -#[cfg(target_os = "macos")] pub fn copy_to_clipboard(data: String) { platform::copy_to_clipboard(data) } diff --git a/src/win/window.rs b/src/win/window.rs index 83ff6d26..f725d58a 100644 --- a/src/win/window.rs +++ b/src/win/window.rs @@ -763,3 +763,7 @@ unsafe impl HasRawWindowHandle for Window<'_> { RawWindowHandle::Win32(handle) } } + +pub fn copy_to_clipboard(data: String) { + todo!() +} diff --git a/src/x11/window.rs b/src/x11/window.rs index 8056f904..d45cbbfc 100644 --- a/src/x11/window.rs +++ b/src/x11/window.rs @@ -704,3 +704,7 @@ fn mouse_id(id: u8) -> MouseButton { id => MouseButton::Other(id), } } + +pub fn copy_to_clipboard(data: String) { + todo!() +}