shell: Allow querying current vs pending state
This commit is contained in:
parent
8f20cf5ece
commit
be1b4ceb10
8 changed files with 111 additions and 69 deletions
|
|
@ -226,7 +226,7 @@ impl ResizeSurfaceGrab {
|
|||
|
||||
// Finish resizing.
|
||||
if let Some(ResizeState::WaitingForCommit(_)) = *resize_state {
|
||||
if !window.is_resizing().unwrap_or(false) {
|
||||
if !window.is_resizing(false).unwrap_or(false) {
|
||||
*resize_state = None;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue