shell: Don't animate programmatic maximize_requests
This commit is contained in:
parent
156f634944
commit
b793975689
4 changed files with 8 additions and 8 deletions
|
|
@ -612,7 +612,7 @@ impl XwmHandler for State {
|
|||
let mut shell = self.common.shell.write().unwrap();
|
||||
if let Some(mapped) = shell.element_for_surface(&window).cloned() {
|
||||
let seat = shell.seats.last_active().clone();
|
||||
shell.maximize_request(&mapped, &seat);
|
||||
shell.maximize_request(&mapped, &seat, true);
|
||||
} else if let Some(pending) = shell
|
||||
.pending_windows
|
||||
.iter_mut()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue