diff --git a/src/anbox/ubuntu/window.cpp b/src/anbox/ubuntu/window.cpp index 7cb879a1904099be503b67921b5dd358b0c1d50e..563be9be23c7bd18801af7fd039f26bb0e9668be 100644 --- a/src/anbox/ubuntu/window.cpp +++ b/src/anbox/ubuntu/window.cpp @@ -106,8 +106,9 @@ Window::Window(const std::shared_ptr &display, parameters.height, parameters.output_id); - // Force fullscreen for now until we have proper resizing support - mir_surface_set_state(surface_, mir_surface_state_fullscreen); + // We have to tell mir that we want a maximized window otherwise we + // get a full screen one. + mir_surface_set_state(surface_, mir_surface_state_maximized); auto surface_buffer_stream = mir_surface_get_buffer_stream(surface_); native_window_ = reinterpret_cast(