diff --git a/src/capturer/engine/win/mod.rs b/src/capturer/engine/win/mod.rs index cbc51d1..7cbf0fb 100644 --- a/src/capturer/engine/win/mod.rs +++ b/src/capturer/engine/win/mod.rs @@ -151,16 +151,11 @@ pub fn create_capturer(options: &Options, tx: mpsc::Sender) -> WCStream { false => CursorCaptureSettings::WithoutCursor, }; - let show_highlight = match options.show_highlight { - true => DrawBorderSettings::WithBorder, - false => DrawBorderSettings::WithoutBorder, - }; - let settings = match target { Target::Display(display) => Settings::Display(WCSettings::new( WCMonitor::from_raw_hmonitor(display.raw_handle.0), show_cursor, - show_highlight, + DrawBorderSettings::Default, color_format, FlagStruct { tx, @@ -170,7 +165,7 @@ pub fn create_capturer(options: &Options, tx: mpsc::Sender) -> WCStream { Target::Window(window) => Settings::Window(WCSettings::new( WCWindow::from_raw_hwnd(window.raw_handle.0), show_cursor, - show_highlight, + DrawBorderSettings::Default, color_format, FlagStruct { tx,