mangoapp: disable checking vulkan layer for now
@@ -158,18 +158,18 @@ static void msg_read_thread(){
} else {
steam_focused = false;
}
- if (!steam_focused && mangoapp_v1->pid != previous_pid){
- string path = "/tmp/mangoapp/" + to_string(mangoapp_v1->pid) + ".json";
- ifstream i(path);
- if (i.fail()){
- sw_stats.engine = EngineTypes::GAMESCOPE;
- } else {
- json j;
- i >> j;
- sw_stats.engine = static_cast<EngineTypes> (j["engine"]);
- }
- previous_pid = mangoapp_v1->pid;
- }
+ // if (!steam_focused && mangoapp_v1->pid != previous_pid){
+ // string path = "/tmp/mangoapp/" + to_string(mangoapp_v1->pid) + ".json";
+ // ifstream i(path);
+ // if (i.fail()){
+ // sw_stats.engine = EngineTypes::GAMESCOPE;
+ // } else {
+ // json j;
+ // i >> j;
+ // sw_stats.engine = static_cast<EngineTypes> (j["engine"]);
+ // }
+ // previous_pid = mangoapp_v1->pid;
+ // }
if (msg_size > offsetof(mangoapp_msg_v1, latency_ns))
gamescope_frametime(mangoapp_v1->app_frametime_ns, mangoapp_v1->latency_ns);
