diff options
author | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2018-10-05 17:18:10 -0300 |
---|---|---|
committer | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2018-10-05 17:18:10 -0300 |
commit | f40225393900885a16591cdb68158ca50e3612fa (patch) | |
tree | 331553ad4054295cef13e13ef25e6600b38636c2 /main/main.cpp | |
parent | 8068d0217a5e74c25f83fe93fa6e077b8d0b3bf5 (diff) |
[x11] Use "application/config/name" for WM_CLASS
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index 41ae368087..2463d25664 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1692,6 +1692,9 @@ bool Main::start() { OS::get_singleton()->set_context(OS::CONTEXT_EDITOR); } #endif + if (!editor) { + OS::get_singleton()->set_context(OS::CONTEXT_ENGINE); + } } if (!project_manager && !editor) { // game |