Remove CosmicMapped::stack_ref_mut
The methods of `CosmicStack` take `&self`, so this isn't actually needed for anything.
This commit is contained in:
parent
649547d3cc
commit
63995c4919
7 changed files with 18 additions and 25 deletions
|
|
@ -213,9 +213,9 @@ impl CompositorHandler for State {
|
|||
})
|
||||
.then(|| state.element())
|
||||
});
|
||||
if let Some(mut window) = moved_window {
|
||||
if let Some(window) = moved_window {
|
||||
if window.is_stack() {
|
||||
let stack = window.stack_ref_mut().unwrap();
|
||||
let stack = window.stack_ref().unwrap();
|
||||
if let Some(i) = stack.surfaces().position(|s| {
|
||||
s.wl_surface()
|
||||
.as_deref()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue