Hello community, here is the log from the commit of package compiz checked in at Mon Nov 13 22:40:12 CET 2006. -------- --- compiz/compiz.changes 2006-10-31 18:06:12.000000000 +0100 +++ /mounts/work_src_done/STABLE/compiz/compiz.changes 2006-11-13 20:05:26.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Nov 13 20:04:14 CET 2006 - dreveman@suse.de + +- Fix support for _NET_MOVERESIZE_WINDOW. #220114 + +------------------------------------------------------------------- New: ---- compiz-move-resize-fix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ compiz.spec ++++++ --- /var/tmp/diff_new_pack.Gn9eZV/_old 2006-11-13 22:34:53.000000000 +0100 +++ /var/tmp/diff_new_pack.Gn9eZV/_new 2006-11-13 22:34:53.000000000 +0100 @@ -18,7 +18,7 @@ Requires: libpng libdrm gconf2 gtk2 librsvg libwnck metacity >= 2.15.1 Autoreqprov: on Version: 0.2.2 -Release: 2 +Release: 11 Summary: OpenGL window and compositing manager. BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 @@ -35,8 +35,9 @@ Patch5: compiz-decorator-command.diff Patch6: compiz-schemas.in.diff Patch7: compiz-opensuse-logo.diff -Patch8: gnome-xgl-settings-glade.patch -Patch9: gnome-xgl-settings-compiz-0.2-update.diff +Patch8: compiz-move-resize-fix.diff +Patch9: gnome-xgl-settings-glade.patch +Patch10: gnome-xgl-settings-compiz-0.2-update.diff %description Compiz is an OpenGL compositing manager that use @@ -79,6 +80,7 @@ patch -d compiz-0.2.2 -p0 < $RPM_SOURCE_DIR/compiz-default-gconf-settings.patch patch -d compiz-0.2.2 -p1 < $RPM_SOURCE_DIR/compiz-decorator-command.diff patch -d compiz-0.2.2 -p1 < $RPM_SOURCE_DIR/compiz-schemas.in.diff +patch -d compiz-0.2.2 -p1 < $RPM_SOURCE_DIR/compiz-move-resize-fix.diff patch -d gnome-xgl-* -p0 < $RPM_SOURCE_DIR/gnome-xgl-settings-glade.patch patch -d gnome-xgl-* -p0 < $RPM_SOURCE_DIR/gnome-xgl-settings-compiz-0.2-update.diff @@ -170,6 +172,8 @@ /opt/gnome/share/gnome/wm-properties/compiz.desktop %changelog -n compiz +* Mon Nov 13 2006 - dreveman@suse.de +- Fix support for _NET_MOVERESIZE_WINDOW. #220114 * Tue Oct 31 2006 - dreveman@suse.de - Add opensuse logo and use it by default instead of the freedesktop logo. ++++++ compiz-move-resize-fix.diff ++++++ diff --git a/src/window.c b/src/window.c index 19726af..f4dcebe 100644 --- a/src/window.c +++ b/src/window.c @@ -3306,6 +3306,9 @@ moveResizeWindow (CompWindow *w, min = w->screen->workArea.y + w->input.top; max = w->screen->workArea.y + w->screen->workArea.height; + min -= w->screen->y * w->screen->height; + max += (w->screen->vsize - w->screen->y - 1) * w->screen->height; + if (xwc->y < min) xwc->y = min; else if (xwc->y > max) @@ -3319,6 +3322,9 @@ moveResizeWindow (CompWindow *w, min = w->screen->workArea.x + w->input.left; max = w->screen->workArea.x + w->screen->workArea.width; + min -= w->screen->x * w->screen->width; + max += (w->screen->hsize - w->screen->x - 1) * w->screen->width; + if (xwc->x < min) xwc->x = min; else if (xwc->x > max) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org