Skip to main content

relocate

Function relocate 

Source
fn relocate(state: &mut AppState, window: &Window, location: (i32, i32))
Expand description

Moves a mapped window to a location and keeps its place in the stacking: Smithay’s Space::map_element raises what it maps, so the windows that stood above this one are raised over it again in their order. A configure or a held move applied after the policy restacked (a cascade laid out over tiles, the tiles’ moves landing as their clients answer) would otherwise lift each moved window over the ones the policy stacked above it. A window mapped for the first time goes on top.