fn right_offset(
    max_tag_index: usize,
    max_right_screen: Option<i32>,
    window: &Window,
) -> Option<i32> {
    let max_right_screen = max_right_screen?;
    for tag in &window.tags {
        if tag > &max_tag_index {
            return Some(max_right_screen + window.x());
        }
    }
    None
}
//return an offset to hide the window in the right, if it should be hidden on the right
return an offset to hide the window in the right, if it should be hidden on the right
return an offset to hide the window in the right if it should be hidden on the right
fn right_offset(
    max_tag_index: usize,
    max_right_screen: Option<i32>,
    window: &Window,
) -> Option<i32> {
    let max_right_screen = max_right_screen?;
    for tag in &window.tags {
        if tag > &max_tag_index {
            return Some(max_right_screen + window.x());
        }
    }
    None
}
fn right_offset ( max_tag_index : usize , max_right_screen : Option < i32 > , window : & Window , ) -> Option < i32 > { let max_right_screen = max_right_screen ? ; for tag in & window . tags { if tag > & max_tag_index { return Some ( max_right_screen + window . x ( ) ) ; } } None }
return an offset to hide the window in the right, if it should be hidden on the right
return an offset to hide the window in the right if it should be hidden on the right
max_tag_index
usize
max_right_screen
Option<i32>
window
&Window
max_tag_index
usize
max_right_screen
Option<i32>
window
&Window