|
|
|
@ -72,3 +72,20 @@ diff -up chromium-117.0.5938.62/content/browser/download/save_package.cc.me chro
|
|
|
|
|
}
|
|
|
|
|
download::DownloadSaveItemData::AttachItemData(download_, std::move(files));
|
|
|
|
|
}
|
|
|
|
|
diff -up chromium-117.0.5938.62/ui/gtk/gtk_ui.cc.me chromium-117.0.5938.62/ui/gtk/gtk_ui.cc
|
|
|
|
|
--- chromium-117.0.5938.62/ui/gtk/gtk_ui.cc.me 2023-09-15 20:29:42.626502343 +0200
|
|
|
|
|
+++ chromium-117.0.5938.62/ui/gtk/gtk_ui.cc 2023-09-15 20:36:18.763091179 +0200
|
|
|
|
|
@@ -955,11 +955,11 @@ ui::DisplayConfig GtkUi::GetDisplayConfi
|
|
|
|
|
GdkRectangle geometry;
|
|
|
|
|
gdk_monitor_get_geometry(monitor, &geometry);
|
|
|
|
|
int monitor_scale = std::max(1, gdk_monitor_get_scale_factor(monitor));
|
|
|
|
|
- config.display_geometries.emplace_back(
|
|
|
|
|
+ config.display_geometries.emplace_back() = {
|
|
|
|
|
gfx::Rect(monitor_scale * geometry.x, monitor_scale * geometry.y,
|
|
|
|
|
monitor_scale * geometry.width,
|
|
|
|
|
monitor_scale * geometry.height),
|
|
|
|
|
- monitor_scale * font_scale);
|
|
|
|
|
+ static_cast<float>(monitor_scale * font_scale)};
|
|
|
|
|
}
|
|
|
|
|
return config;
|
|
|
|
|
}
|
|
|
|
|