Request a maximized window rather than a fullscreen one
This commit is contained in:
parent
b050c1f53c
commit
578a03965b
1 changed files with 3 additions and 2 deletions
|
|
@ -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>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue