From 55fae24710eaaca482cb2adfcf3b81546e71414c Mon Sep 17 00:00:00 2001 From: santouits Date: Tue, 24 Oct 2017 22:35:28 +0300 Subject: Fix x11 boot logo position in fullscreen and in maximized --- core/os/os.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/os/os.h b/core/os/os.h index 48effe99da..cd3840e049 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -90,13 +90,15 @@ public: bool fullscreen; bool resizable; bool borderless_window; + bool maximized; float get_aspect() const { return (float)width / (float)height; } - VideoMode(int p_width = 1024, int p_height = 600, bool p_fullscreen = false, bool p_resizable = true, bool p_borderless_window = false) { + VideoMode(int p_width = 1024, int p_height = 600, bool p_fullscreen = false, bool p_resizable = true, bool p_borderless_window = false, bool p_maximized = false) { width = p_width; height = p_height; fullscreen = p_fullscreen; resizable = p_resizable; borderless_window = p_borderless_window; + maximized = p_maximized; } }; -- cgit v1.2.3