bugfix: fullscreen instead of maximized

This commit is contained in:
Matthew Kosarek 2024-02-13 15:24:16 -05:00
parent 0a491d50a7
commit 76562232da

View File

@ -148,7 +148,7 @@ bool WindowTree::try_toggle_active_fullscreen()
if (is_active_window_fullscreen)
spec.state() = mir_window_state_restored;
else
spec.state() = mir_window_state_maximized;
spec.state() = mir_window_state_fullscreen;
auto& window_info = tools.info_for(active_window->get_window());
tools.place_and_size_for_state(spec, window_info);