Hello community, here is the log from the commit of package icewm checked in at Fri Feb 29 12:37:30 CET 2008. -------- --- icewm/icewm.changes 2008-01-29 14:35:15.000000000 +0100 +++ /mounts/work_src_done/STABLE/icewm/icewm.changes 2008-02-29 11:28:57.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Feb 29 11:27:23 CET 2008 - mmarek@suse.cz + +- fixed centering of dialogs (bnc#359529) + +------------------------------------------------------------------- icewm-lite.changes: same change New: ---- icewm-1.2.35-dialog-center-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icewm-lite.spec ++++++ --- /var/tmp/diff_new_pack.s21272/_old 2008-02-29 12:37:04.000000000 +0100 +++ /var/tmp/diff_new_pack.s21272/_new 2008-02-29 12:37:04.000000000 +0100 @@ -10,6 +10,7 @@ # norootforbuild + Name: icewm-lite BuildRequires: freetype2-devel gcc-c++ xorg-x11-devel License: LGPL v2.1 or later @@ -19,7 +20,7 @@ Conflicts: icewm-default AutoReqProv: on Version: 1.2.35 -Release: 5 +Release: 12 Source: icewm-%{version}.tar.bz2 Patch0: icewm-LANG.menu.patch Patch1: icewm-multiByte.patch @@ -28,6 +29,7 @@ Patch4: icewm-1.2.30-strict-aliasing.patch Patch5: icewm-1.2.35-override-config.patch Patch6: icewm-1.2.35-lite-build.patch +Patch7: icewm-1.2.35-dialog-center-fix.patch Url: http://www.icewm.org/ Summary: IceWM Window Manager--Lite Version BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -56,6 +58,7 @@ %patch4 %patch5 %patch6 +%patch7 %build %{?suse_update_config:%{suse_update_config -f}} @@ -94,6 +97,8 @@ /usr/bin/icewm-session %changelog +* Fri Feb 29 2008 mmarek@suse.cz +- fixed centering of dialogs (bnc#359529) * Fri Feb 01 2008 mmarek@suse.cz - --enable-i18n, to display window titles correctly (size of i586 rpm increases by only about 2K) (bnc#357240#c11) ++++++ icewm.spec ++++++ --- /var/tmp/diff_new_pack.s21272/_old 2008-02-29 12:37:04.000000000 +0100 +++ /var/tmp/diff_new_pack.s21272/_new 2008-02-29 12:37:04.000000000 +0100 @@ -10,6 +10,7 @@ # norootforbuild + Name: icewm BuildRequires: gcc-c++ giflib-devel gnome-desktop-devel imlib-devel libtiff-devel update-desktop-files %if 0%{?suse_version} >= 1030 @@ -21,7 +22,7 @@ Requires: icewm-bin, xdg-menu, desktop-data AutoReqProv: on Version: 1.2.35 -Release: 5 +Release: 20 Source: icewm-%{version}.tar.bz2 Source1: %{name}.desktop Patch0: icewm-LANG.menu.patch @@ -31,6 +32,7 @@ Patch4: icewm-1.2.30-strict-aliasing.patch Patch5: icewm-1.2.35-override-config.patch Patch6: icewm-1.2.35-lite-build.patch +Patch7: icewm-1.2.35-dialog-center-fix.patch Url: http://www.icewm.org/ Summary: Window Manager with a Taskbar BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -96,6 +98,7 @@ %patch4 %patch5 %patch6 +%patch7 %build %{?suse_update_config:%{suse_update_config -f}} @@ -171,6 +174,8 @@ /usr/bin/icewm-menu-gnome2 %changelog +* Fri Feb 29 2008 mmarek@suse.cz +- fixed centering of dialogs (bnc#359529) * Tue Jan 29 2008 mmarek@suse.cz - make icewm --config=file work (override-config.patch) ++++++ icewm-1.2.35-dialog-center-fix.patch ++++++ --- src/wmmgr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- src/wmmgr.cc.orig +++ src/wmmgr.cc @@ -1222,7 +1222,7 @@ void YWindowManager::setWindows(YFrameWi void YWindowManager::getNewPosition(YFrameWindow *frame, int &x, int &y, int w, int h, int xiscreen) { if (centerTransientsOnOwner && frame->owner() != 0) { x = frame->owner()->x() + frame->owner()->width() / 2 - w / 2; - y = frame->owner()->y() + frame->owner()->width() / 2 - h / 2; + y = frame->owner()->y() + frame->owner()->height() / 2 - h / 2; } else if (smartPlacement) { getSmartPlace(true, frame, x, y, w, h, xiscreen); } else { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org