summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2020-08-15 17:53:06 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-08-15 17:53:18 +0300
commit9d1cf0b6afae814a29c923192540e9066baa7eb9 (patch)
tree0e0f437eb792fb66b3127cf685ccac2cea63aaad /main
parent4ee779e6d307d60c8f38c0927f0e951b95eb0481 (diff)
Fix "on top" incorrectly set on init (all platforms).
Fix "on top" reseting on window update. (macOS).
Diffstat (limited to 'main')
-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;
}
}