2024-02-07 19:05:00 +02:00
2023-10-17 18:57:03 +03:00
2023-10-24 04:23:17 +03:00
2023-10-24 04:21:50 +03:00
2022-06-14 12:18:10 +02:00
2023-10-24 04:21:50 +03:00
2022-08-26 14:59:40 +02:00
2023-10-17 18:57:03 +03:00
2021-12-30 16:10:18 +02:00
2022-08-26 14:59:40 +02:00
2022-08-26 15:01:45 +02:00
2024-02-07 19:05:00 +02:00
2022-03-02 09:05:49 +02:00

Warning

ARCHIVE NOTICE

This crate is Unmaintained! it served its purpose which was an interim solution to enable shadows on undecorated windows for tao and tauri.

As of tauri@v2 and recent versions of tao and winit, they all support enablind/disabling shadows so this crate is not needed.

If you're using tauri@v1 and need this crate, don't worry, this crate will still function with tauri@v1 without any problems.

window-shadows

Chat Server

Add native shadows to your windows.

Platform-specific

  • Windows: On Windows 11, the window will also have rounded corners.
  • macOS: Shadows are always disabled for transparent windows.
  • Linux: Unsupported, Shadows are controlled by the compositor installed on the end-user system.

Example

use window_shadows::set_shadow;

#[cfg(any(windows, target_os = "macos"))]
set_shadow(&window, true).unwrap();

Screenshots

Windows macOS
Windows screenshot macOS screenshot

Description
No description provided
Readme 3 MiB
Languages
Rust 100%