From 9d1cf0b6afae814a29c923192540e9066baa7eb9 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Sat, 15 Aug 2020 17:53:06 +0300 Subject: Fix "on top" incorrectly set on init (all platforms). Fix "on top" reseting on window update. (macOS). --- main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/main.cpp b/main/main.cpp index e371bef25f..1c02fcf939 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1140,7 +1140,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph } if (bool(GLOBAL_GET("display/window/size/always_on_top"))) { - window_flags |= DisplayServer::WINDOW_FLAG_ALWAYS_ON_TOP; + window_flags |= DisplayServer::WINDOW_FLAG_ALWAYS_ON_TOP_BIT; } } -- cgit v1.2.3