Fix "on top" incorrectly set on init (all platforms).

Fix "on top" reseting on window update. (macOS).
This commit is contained in:
bruvzg 2020-08-15 17:53:06 +03:00
parent 4ee779e6d3
commit 9d1cf0b6af
No known key found for this signature in database
GPG key ID: FCED35F1CECE0D3A
2 changed files with 6 additions and 2 deletions

View file

@ -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;
}
}