From 11e4c128aca9f2d687d06fe07e97c8636a27b17a Mon Sep 17 00:00:00 2001 From: hondres Date: Wed, 27 Jan 2016 21:53:37 +0100 Subject: x11: use different strings for WM_CLASS depending on context --- main/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main') diff --git a/main/main.cpp b/main/main.cpp index 19fe037613..023d8d49a2 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -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 -- cgit v1.2.3