summaryrefslogtreecommitdiff
path: root/main/main.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-08-15 17:59:05 +0200
committerGitHub <noreply@github.com>2020-08-15 17:59:05 +0200
commitd4665e78590d182e1083e572ad50a89f04ec4d86 (patch)
treee94056bb13d9debe967be7a9b3ba5097f8dede52 /main/main.cpp
parentdfc0986ae150e87f41fac84ab607ddd70cee9f3f (diff)
parent9d1cf0b6afae814a29c923192540e9066baa7eb9 (diff)
Merge pull request #41285 from bruvzg/macos_on_top_4
[macOS] Fix "on top" incorrectly set on init and resetting on window update.
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}