Add developer flag for printer agents (#15110)

This commit is contained in:
Ian Chua
2026-08-05 13:40:05 +08:00
committed by GitHub
parent 6312caaf13
commit 38cb1ae8d1
2 changed files with 12 additions and 0 deletions

View File

@@ -626,6 +626,12 @@ void AppConfig::set_defaults()
set_bool("window_buttons_on_left", false);
#endif
if (get("use_printer_agents").empty())
{
// false = legacy behavior using print hosts
set_bool("use_printer_agents", false);
}
// Remove legacy window positions/sizes
erase("app", "main_frame_maximized");
erase("app", "main_frame_pos");