1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Merge pull request #3493 from Hinsbart/wm_class

x11: use different strings for WM_CLASS depending on context
This commit is contained in:
Rémi Verschelde
2016-02-03 11:30:22 +01:00
5 changed files with 31 additions and 0 deletions

View File

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