shell: Rework fullscreen/maximize

This commit is contained in:
Victoria Brekenfeld 2023-09-13 20:14:54 +02:00
parent 716728560a
commit abf430f956
6 changed files with 208 additions and 142 deletions

View file

@ -1334,7 +1334,7 @@ impl Shell {
let (window, seat) = state.common.shell.pending_windows.remove(pos);
let workspace = state.common.shell.workspaces.active_mut(output);
workspace.set_fullscreen(None, output);
workspace.remove_fullscreen(output);
state.common.shell.toplevel_info_state.new_toplevel(&window);
state
.common