Hello community, here is the log from the commit of package xemacs checked in at Mon Apr 28 16:26:10 CEST 2008. -------- --- xemacs/xemacs.changes 2008-04-02 17:23:00.000000000 +0200 +++ /mounts/work_src_done/STABLE/xemacs/xemacs.changes 2008-04-28 14:33:36.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Apr 28 14:27:29 CEST 2008 - mfabian@suse.de + +- add fix-window-configuration-problem.patch + (see http://article.gmane.org/gmane.emacs.xemacs.beta/27797) + +------------------------------------------------------------------- New: ---- fix-window-configuration-problem.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xemacs.spec ++++++ --- /var/tmp/diff_new_pack.E32602/_old 2008-04-28 16:24:55.000000000 +0200 +++ /var/tmp/diff_new_pack.E32602/_new 2008-04-28 16:24:55.000000000 +0200 @@ -37,7 +37,7 @@ Conflicts: gnuserv AutoReqProv: on Version: 21.5.28.20080401 -Release: 1 +Release: 7 Summary: XEmacs BuildRoot: %{_tmppath}/%{name}-%{version}-build # Howto get the cvs tree of XEmacs: @@ -92,6 +92,7 @@ Patch43: set-language-unicode-precedence-list.patch Patch45: fix-defface-custom-modified-face.patch Patch47: xaw3d-config.patch +Patch48: fix-window-configuration-problem.patch Patch292811: bugzilla-292811-make-x-make-font-bold-italic-xft-work.patch Patch301352: bugzilla-301352-fix-wrong-incrementing-in-macros.patch @@ -184,6 +185,7 @@ %patch43 -p1 %patch45 -p0 %patch47 +%patch48 -p1 %patch292811 -p1 %patch301352 -p1 %patch0 -p1 @@ -588,6 +590,9 @@ %dir /usr/share/xemacs/site-packages/lisp/term/ %changelog +* Mon Apr 28 2008 mfabian@suse.de +- add fix-window-configuration-problem.patch + (see http://article.gmane.org/gmane.emacs.xemacs.beta/27797) * Tue Apr 01 2008 mfabian@suse.de - update to 21.5.28.20080401 to fix the problem reported here: http://article.gmane.org/gmane.emacs.xemacs.beta/26999/match=zawinski+save+w... ++++++ fix-window-configuration-problem.patch ++++++ diff --git a/src/window.c b/src/window.c --- a/src/window.c +++ b/src/window.c @@ -3601,7 +3601,17 @@ /* All but the last window should have a height which is a multiple of the default line height. */ if (!NILP (c->next)) - pos = (pos / line_size) * line_size; + { + /* + * Round up when we're shrinking, down when we're growing + * to make sure that pairs of grow / shrink meant to + * cancel out actually do cancel out. + */ + if (pixel_adj_left < 0) + pos = ((pos + line_size -1) / line_size) * line_size; + else + pos = (pos / line_size) * line_size; + } /* Avoid confusion: don't delete child if it becomes too small */ set_window_pixsize (child, pos + first - last_pos, 1, set_height); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org