From 05f172e467fe4811dac0952cdd083785d2f52b2e Mon Sep 17 00:00:00 2001 From: toorux Date: Sat, 10 Oct 2026 00:39:22 +0800 Subject: [PATCH] Give received casting windows Steam movement and resize controls --- native/host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/host.cpp b/native/host.cpp index fb3ec5b..fc21a53 100644 --- a/native/host.cpp +++ b/native/host.cpp @@ -284,7 +284,7 @@ static void anchor_notification(View& v){ } static View& create_view(const std::string& key,const std::string& title,const std::string& url,bool dock,int width,int height,const std::string& plugin="",float physical_width=0){ // Plugin windows always use Steam window controls; dock only controls the tab. - const bool dashboard=dock||!plugin.empty(); + const bool dashboard=dock||!plugin.empty()||key.rfind("framely.cast.",0)==0; if(views.count(key)){auto& v=*views.at(key);if(v.dashboard&&key!="launcher")overlays->ShowDashboard(key.c_str());else if(key!="notifications"&&key!="launcher")show(v,true);return v;} // Use 1.5x for launcher artwork and 2x for scrolling panels. CEF readback, // texture upload and launcher mipmap generation scale with the pixel count.