Don't set viewport for 1x1 windows with scaling
This commit is contained in:
parent
555f9492ad
commit
0cd5059c42
5 changed files with 106 additions and 49 deletions
|
|
@ -170,6 +170,10 @@ impl<C: XConnection> Dispatch<WlSurface, ObjectKey> for ServerState<C> {
|
|||
}
|
||||
surface.destroy_role();
|
||||
surface.client.destroy();
|
||||
surface.viewport.destroy();
|
||||
if let Some(f) = &mut surface.fractional {
|
||||
f.destroy();
|
||||
}
|
||||
debug!(
|
||||
"deleting key: {key:?} (surface {:?})",
|
||||
surface.server.id().protocol_id()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue