Merge pull request #3493 from Hinsbart/wm_class
x11: use different strings for WM_CLASS depending on context
This commit is contained in:
commit
c0aade4ba4
5 changed files with 31 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue