Commit 4202d293 authored by Michael Natterer's avatar Michael Natterer 😴

app: update GimpDisplayShell's monitor resolution when changing monitors

so the image size adapts when dot-for-dot is off.
parent 21e9e373
......@@ -765,6 +765,15 @@ gimp_image_window_monitor_changed (GimpWindow *window,
for (list = private->shells; list; list = g_list_next (list))
{
/* hack, this should live here, and screen_changed call
* monitor_changed
*/
g_signal_emit_by_name (list->data, "screen-changed",
gtk_widget_get_screen (list->data));
/* make it fetch the new monitor's resolution */
gimp_display_shell_scale_changed (GIMP_DISPLAY_SHELL (list->data));
/* make it fetch the right monitor profile */
gimp_color_managed_profile_changed (GIMP_COLOR_MANAGED (list->data));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment