diff --git a/README.md b/README.md index de4e553706..d056753b0d 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/src/lib.rs b/src/lib.rs index 98dc32c5cc..2b1ba3d078 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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",