diff --git a/psst-gui/src/controller/playback.rs b/psst-gui/src/controller/playback.rs index e49e03fc..9b077a9d 100644 --- a/psst-gui/src/controller/playback.rs +++ b/psst-gui/src/controller/playback.rs @@ -130,7 +130,7 @@ impl PlaybackController { #[cfg(target_os = "windows")] { match window.raw_window_handle() { - RawWindowHandle::Win32(handle) => Some(handle.hwnd.get() as *mut std::ffi::c_void), + RawWindowHandle::Win32(handle) => Some(handle.hwnd as *mut std::ffi::c_void), _ => None, } }