shell: Don't resize pending fullscreen surfaces
This commit is contained in:
parent
9f767a1d13
commit
11fabec166
1 changed files with 2 additions and 1 deletions
|
|
@ -529,7 +529,8 @@ impl TilingLayout {
|
|||
if let Some(geo) = geo {
|
||||
#[allow(irrefutable_let_patterns)]
|
||||
if let Kind::Xdg(xdg) = &window.toplevel() {
|
||||
if xdg.current_state().map(|state| state.states.contains(XdgState::Fullscreen)).unwrap_or(false) {
|
||||
if xdg.current_state().map(|state| state.states.contains(XdgState::Fullscreen)).unwrap_or(false) ||
|
||||
xdg.with_pending_state(|pending| pending.states.contains(XdgState::Fullscreen)).unwrap_or(false) {
|
||||
continue;
|
||||
}
|
||||
let ret = xdg.with_pending_state(|state| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue