Skip to content

Commit

Permalink
feat: make HasRawWindowHandle trait public
Browse files Browse the repository at this point in the history
Signed-off-by: rhysd <[email protected]>
  • Loading branch information
rhysd committed Nov 9, 2023
1 parent e5c496e commit 41cd130
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Cross-platform WebView rendering library in Rust that supports all major desktop
## Overview

WRY connects the web engine on each platform and provides easy to use and unified interface to render WebView.
The webview requires a running event loop and a window type that implements `HasWindowHandle`,
The webview requires a running event loop and a window type that implements `HasRawWindowHandle`,
or a gtk container widget if you need to support X11 and Wayland.
You can use a windowing library like `tao` or `winit`.

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ use android::*;
target_os = "openbsd"
))]
pub(crate) mod webkitgtk;
use raw_window_handle::HasRawWindowHandle;
pub use raw_window_handle::HasRawWindowHandle;
#[cfg(any(
target_os = "linux",
target_os = "dragonfly",
Expand Down

0 comments on commit 41cd130

Please sign in to comment.