When the screen resolution changes and we are not in Dot by dot, we also

2008-08-14  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-handlers.c
	(gimp_display_shell_monitor_res_notify_handler): When the screen
	resolution changes and we are not in Dot by dot, we also need to
	clamp the display shell offsets.

svn path=/trunk/; revision=26557
This commit is contained in:
Martin Nordholts 2008-08-14 15:44:25 +00:00 committed by Martin Nordholts
parent f91ac50fd7
commit 052d859c6a
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell-handlers.c
(gimp_display_shell_monitor_res_notify_handler): When the screen
resolution changes and we are not in Dot by dot, we also need to
clamp the display shell offsets.
2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell-handlers.c

View file

@ -629,7 +629,8 @@ gimp_display_shell_monitor_res_notify_handler (GObject *config,
if (! shell->dot_for_dot)
{
gimp_display_shell_update_scrollbars_and_rulers (shell);
gimp_display_shell_scroll_clamp_and_update (shell);
gimp_display_shell_scaled (shell);
gimp_display_shell_expose_full (shell);