1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

x11: use different strings for WM_CLASS depending on context

This commit is contained in:
hondres
2016-01-27 21:53:37 +01:00
parent 29353808f0
commit 11e4c128ac
5 changed files with 31 additions and 0 deletions

View File

@@ -1319,6 +1319,7 @@ bool Main::start() {
}
}
}
OS::get_singleton()->set_context(OS::CONTEXT_EDITOR);
//editor_node->set_edited_scene(game);
} else {
@@ -1463,6 +1464,7 @@ bool Main::start() {
ProjectManager *pmanager = memnew( ProjectManager );
sml->get_root()->add_child(pmanager);
OS::get_singleton()->set_context(OS::CONTEXT_PROJECTMAN);
}
#endif