Mailinglist Archive: opensuse-commit (1177 mails)
| < Previous | Next > |
commit compiz for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Thu, 08 Jan 2009 18:00:32 +0100
- Message-id: <20090108170032.B925A678162@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package compiz for openSUSE:Factory
checked in at Thu Jan 8 18:00:32 CET 2009.
--------
--- compiz/compiz.changes 2008-12-05 20:38:36.000000000 +0100
+++ /mounts/work_src_done/STABLE/compiz/compiz.changes 2009-01-07
01:02:32.000000000 +0100
@@ -1,0 +2,11 @@
+Tue Jan 6 18:46:20 EST 2009 - davidr@xxxxxxxxxx
+
+- Fix root window resize problem. (bnc 462650)
+- Include place plugin fix in NOMAD patch.
+
+-------------------------------------------------------------------
+Tue Dec 23 13:04:54 CET 2008 - davidr@xxxxxxxxxx
+
+- Fix place plugin issue. (bnc 442052)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
compiz-place-fix-bnc442052.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ compiz.spec ++++++
--- /var/tmp/diff_new_pack.x26627/_old 2009-01-08 17:58:17.000000000 +0100
+++ /var/tmp/diff_new_pack.x26627/_new 2009-01-08 17:58:17.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package compiz (Version 0.7.8 )
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -41,7 +41,7 @@
%endif
AutoReqProv: on
Version: 0.7.8
-Release: 9
+Release: 10
Requires: compiz-decorator = %{version} compiz-branding = %{version}
Provides: windowmanager
Summary: OpenGL window and compositing manager.
@@ -66,6 +66,7 @@
Patch29: gnome-xgl-settings-remove-gconf.diff
Patch36: gnome-xgl-settings-hwinfo-primary-display-bno335445.patch
Patch60: Mesa-x86_64-fixes.diff
+Patch61: compiz-place-fix-bnc442052.diff
Patch80: compiz-0.7.8-NOMAD.diff
%if "%(xft-config --prefix)" == "/usr"
%define xorg_prefix %_prefix
@@ -241,6 +242,7 @@
%patch10 -p1
%endif
%patch11 -p1
+#%patch61 -p1
cd -
%build
@@ -417,6 +419,11 @@
%_datadir/compiz/sle.png
%changelog
+* Tue Jan 06 2009 davidr@xxxxxxxxxx
+- Fix root window resize problem. (bnc 462650)
+- Include place plugin fix in NOMAD patch.
+* Tue Dec 23 2008 davidr@xxxxxxxxxx
+- Fix place plugin issue. (bnc 442052)
* Thu Dec 04 2008 davidr@xxxxxxxxxx
- Allow decoration property to be of any type so we're
not breaking backward compatibility. (bnc 431846)
++++++ compiz-0.7.8-NOMAD.diff ++++++
++++ 669 lines (skipped)
++++ between compiz/compiz-0.7.8-NOMAD.diff
++++ and /mounts/work_src_done/STABLE/compiz/compiz-0.7.8-NOMAD.diff
++++++ compiz-place-fix-bnc442052.diff ++++++
--- a/plugins/place.c
+++ b/plugins/place.c
@@ -1085,21 +1085,31 @@ placeConstrainToWorkarea (CompWindow *w,
int *y)
{
CompWindowExtents extents;
+ int delta;
extents.left = *x - w->input.left;
extents.top = *y - w->input.top;
extents.right = *x + w->serverWidth + w->input.right;
extents.bottom = *y + w->serverHeight + w->input.bottom;
- if (extents.left < workArea->x)
- *x += workArea->x - extents.left;
- else if (extents.right > workArea->x + workArea->width)
- *x += workArea->x + workArea->width - extents.right;
+ delta = workArea->x + workArea->width - extents.right;
+ if (delta < 0)
+ extents.left += delta;
- if (extents.top < workArea->y)
- *y += workArea->y - extents.top;
- else if (extents.bottom > workArea->y + workArea->height)
- *y += workArea->y + workArea->height - extents.bottom;
+ delta = workArea->x - extents.left;
+ if (delta > 0)
+ extents.left += delta;
+
+ delta = workArea->y + workArea->height - extents.bottom;
+ if (delta < 0)
+ extents.top += delta;
+
+ delta = workArea->y - extents.top;
+ if (delta > 0)
+ extents.top += delta;
+
+ *x = extents.left + w->input.left;
+ *y = extents.top + w->input.top;
}
static Bool
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |