From 7dc6f8d0bcd79dc81ff53301d6b72f3a2aee0b00 Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Mon, 27 Jun 2016 23:51:35 +0200 Subject: [PATCH] Force our windows to be fullscreen for now --- src/anbox/ubuntu/window.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/anbox/ubuntu/window.cpp b/src/anbox/ubuntu/window.cpp index 655943a..13cb7d8 100644 --- a/src/anbox/ubuntu/window.cpp +++ b/src/anbox/ubuntu/window.cpp @@ -106,6 +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); + auto surface_buffer_stream = mir_surface_get_buffer_stream(surface_); native_window_ = reinterpret_cast( mir_buffer_stream_get_egl_native_window(surface_buffer_stream));