Skip to content

Commit

Permalink
get from option
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jan 9, 2025
1 parent ad6ed21 commit d141d3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontends/rioterm/src/router/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ pub fn create_window_builder(
if let Some(use_undecorated_shadow) = config.window.windows_use_undecorated_shadow
{
window_builder = window_builder
.with_undecorated_shadow(config.window.use_undecorated_shadow);
.with_undecorated_shadow(use_undecorated_shadow);
}

if let Some(use_no_redirection_bitmap) =
config.window.windows_use_no_redirection_bitmap
{
// This sets WS_EX_NOREDIRECTIONBITMAP.
window_builder = window_builder
.with_no_redirection_bitmap(config.window.use_no_redirection_bitmap);
.with_no_redirection_bitmap(use_no_redirection_bitmap);
}
}

Expand Down

0 comments on commit d141d3c

Please sign in to comment.