You've already forked godot
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user