Commit a7037f9d authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

if dot_for_dot is off, resolution change has the same effect as size

2004-11-10  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-handlers.c
	(gimp_display_shell_resolution_changed_handler): if dot_for_dot is
	off, resolution change has the same effect as size change, so call
	gimp_display_shell_size_changed_handler(). Fixes display garbage.
parent 1309a075
2004-11-10 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-handlers.c
(gimp_display_shell_resolution_changed_handler): if dot_for_dot is
off, resolution change has the same effect as size change, so call
gimp_display_shell_size_changed_handler(). Fixes display garbage.
2004-11-10 Michael Natterer <mitch@gimp.org>
 
* plug-ins/winicon/icodialog.[ch]
......
......@@ -400,8 +400,15 @@ static void
gimp_display_shell_resolution_changed_handler (GimpImage *gimage,
GimpDisplayShell *shell)
{
gimp_display_shell_scale_setup (shell);
gimp_display_shell_scaled (shell);
if (shell->dot_for_dot)
{
gimp_display_shell_scale_setup (shell);
gimp_display_shell_scaled (shell);
}
else
{
gimp_display_shell_size_changed_handler (gimage, shell);
}
}
static void
......
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