surface: Restore previous decoration mode
This commit is contained in:
parent
8e4fa6bfc6
commit
5dda8cfef5
2 changed files with 26 additions and 8 deletions
|
|
@ -55,7 +55,7 @@ impl State {
|
|||
.find(|(window, _)| window.wl_surface().as_ref() == Some(surface))
|
||||
{
|
||||
window.toplevel().with_pending_state(|state| {
|
||||
state.decoration_mode = dbg!(Some(mode));
|
||||
state.decoration_mode = Some(mode);
|
||||
});
|
||||
window.toplevel().send_configure();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue