This commit is contained in:
parent
ca2c49157c
commit
8edf851ad4
15
icewm-1.2.35-dialog-center-fix.patch
Normal file
15
icewm-1.2.35-dialog-center-fix.patch
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
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 {
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 29 11:27:23 CET 2008 - mmarek@suse.cz
|
||||
|
||||
- fixed centering of dialogs (bnc#359529)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 11:07:31 CET 2008 - mmarek@suse.cz
|
||||
|
||||
|
@ -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 @@ Requires: icewm
|
||||
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 @@ Patch3: icewm-docdir.patch
|
||||
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 @@ Authors:
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
%patch7
|
||||
|
||||
%build
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
@ -94,6 +97,8 @@ rm -rf $RPM_BUILD_ROOT;
|
||||
/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)
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 29 11:27:23 CET 2008 - mmarek@suse.cz
|
||||
|
||||
- fixed centering of dialogs (bnc#359529)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 29 14:34:44 CET 2008 - mmarek@suse.cz
|
||||
|
||||
|
@ -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 @@ Provides: windowmanager
|
||||
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 @@ Patch3: icewm-docdir.patch
|
||||
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 @@ Authors:
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
%patch7
|
||||
|
||||
%build
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
@ -171,6 +174,8 @@ rm -rf $RPM_BUILD_ROOT;
|
||||
/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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user