shell: Support maximize and fullscreen requests
This commit is contained in:
parent
f59bb8a06e
commit
bb07ab4155
5 changed files with 166 additions and 103 deletions
|
|
@ -795,7 +795,7 @@ impl TilingLayout {
|
|||
}
|
||||
},
|
||||
Data::Mapped { mapped, .. } => {
|
||||
if !mapped.is_fullscreen() {
|
||||
if !(mapped.is_fullscreen() || mapped.is_maximized()) {
|
||||
mapped.set_tiled(true);
|
||||
mapped.set_size(
|
||||
(geo.size.w - inner * 2, geo.size.h - inner * 2).into(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue