提交 578a0396 编写于 作者: S Simon Fels

Request a maximized window rather than a fullscreen one

上级 b050c1f5
......@@ -106,8 +106,9 @@ Window::Window(const std::shared_ptr<MirDisplayConnection> &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<EGLNativeWindowType>(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册