From 8dfed5b7921522955384adaca0165a3f5d4e9a28 Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Tue, 8 Nov 2016 07:42:51 +0100 Subject: [PATCH] Render all windows without border --- src/anbox/ubuntu/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anbox/ubuntu/window.cpp b/src/anbox/ubuntu/window.cpp index f024dee..e5c59c0 100644 --- a/src/anbox/ubuntu/window.cpp +++ b/src/anbox/ubuntu/window.cpp @@ -30,7 +30,7 @@ Window::Window(int x, int y, int width, int height) : SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1); - window_ = SDL_CreateWindow("anbox", x, y, width, height, SDL_WINDOW_OPENGL); + window_ = SDL_CreateWindow("anbox", x, y, width, height, SDL_WINDOW_OPENGL | SDL_WINDOW_BORDERLESS); if (!window_) { const auto message = utils::string_format("Failed to create window: %s", SDL_GetError()); BOOST_THROW_EXCEPTION(std::runtime_error(message));