Mailinglist Archive: opensuse-commit (910 mails)
| < Previous | Next > |
commit metacity for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Wed, 25 Mar 2009 18:17:06 +0100
- Message-id: <20090325171706.98C4F678161@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package metacity for openSUSE:Factory
checked in at Wed Mar 25 18:17:06 CET 2009.
--------
--- GNOME/metacity/metacity.changes 2009-02-16 18:03:23.000000000 +0100
+++ metacity/metacity.changes 2009-03-23 23:54:26.000000000 +0100
@@ -1,0 +2,15 @@
+Mon Mar 23 23:53:32 CET 2009 - vuntz@xxxxxxxxxx
+
+- Add metacity-buggy-struts.patch to fix metacity not reading
+ struts correctly (ie, windows being put behind the panels).
+
+-------------------------------------------------------------------
+Mon Mar 16 22:14:28 CET 2009 - mboman@xxxxxxx
+
+- Update to version 2.26.0:
+ + queue frame resize on window undecorate
+ + fix description of desktop background (bgo#569649)
+ + wrap g_error calls in braces
+ + Translation updates
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
metacity-2.25.144.tar.bz2
New:
----
metacity-2.26.0.tar.bz2
metacity-buggy-struts.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ metacity.spec ++++++
--- /var/tmp/diff_new_pack.KI7969/_old 2009-03-25 18:14:30.000000000 +0100
+++ /var/tmp/diff_new_pack.KI7969/_new 2009-03-25 18:14:30.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package metacity (Version 2.25.144)
+# spec file for package metacity (Version 2.26.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -31,11 +31,13 @@
BuildRequires: zenity
License: GPL v2 or later
Group: System/GUI/GNOME
-Version: 2.25.144
-Release: 2
+Version: 2.26.0
+Release: 1
Summary: A Fast Window Manager for the GNOME 2.x Desktop
Source: %{name}-%{version}.tar.bz2
Patch: metacity-ping-timeout.patch
+# PATCH-FIX-UPSTREAM metacity-buggy-struts.patch bgo572573
metacity-buggy-struts.patch vuntz@xxxxxxxxxx -- Fix metacity not reading struts
correctly
+Patch1: metacity-buggy-struts.patch
# PATCH-FIX-OPENSUSE metacity-bnc385553-buggy-intel-xinerama.diff bnc385553
federico@xxxxxxxxxx - Sanitize overlapping (cloned) monitors from Xinerama
Patch11: metacity-bnc385553-buggy-intel-xinerama.diff
Url: http://www.gnome.org
@@ -74,11 +76,10 @@
%setup -q
translation-update-upstream
%patch -p1
+%patch1 -p1
%patch11 -p1
%build
-# needed for metacity-2.16.3:
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--libexecdir=%{_prefix}/lib/%{name}\
--disable-static\
@@ -143,6 +144,15 @@
%{_libdir}/pkgconfig/*.pc
%changelog
+* Mon Mar 23 2009 vuntz@xxxxxxxxxx
+- Add metacity-buggy-struts.patch to fix metacity not reading
+ struts correctly (ie, windows being put behind the panels).
+* Mon Mar 16 2009 mboman@xxxxxxx
+- Update to version 2.26.0:
+ + queue frame resize on window undecorate
+ + fix description of desktop background (bgo#569649)
+ + wrap g_error calls in braces
+ + Translation updates
* Mon Feb 16 2009 sbrabec@xxxxxxx
- Added support for translation-update-upstream (FATE#301344).
* Mon Feb 02 2009 mboman@xxxxxxx
++++++ metacity-2.25.144.tar.bz2 -> metacity-2.26.0.tar.bz2 ++++++
++++ 182211 lines of diff (skipped)
++++++ metacity-buggy-struts.patch ++++++
--- trunk/src/core/window-props.c 2009/03/11 14:21:33 4190
+++ trunk/src/core/window-props.c 2009/03/12 01:09:41 4191
@@ -73,12 +73,6 @@
ReloadValueFunc reload_func;
} MetaWindowPropHooks;
-static void init_prop_value (MetaDisplay *display,
- Atom property,
- MetaPropValue *value);
-static void reload_prop_value (MetaWindow *window,
- MetaPropValue *value,
- gboolean initial);
static MetaWindowPropHooks* find_hooks (MetaDisplay *display,
Atom property);
@@ -128,23 +122,34 @@
g_return_if_fail (n_properties > 0);
values = g_new0 (MetaPropValue, n_properties);
-
- i = 0;
- while (i < n_properties)
+
+ for (i=0; i<n_properties; i++)
{
- init_prop_value (window->display, properties[i], &values[i]);
- ++i;
+ MetaWindowPropHooks *hooks = find_hooks (window->display,
+ properties[i]);
+
+ if (!hooks || hooks->type == META_PROP_VALUE_INVALID)
+ {
+ values[i].type = META_PROP_VALUE_INVALID;
+ values[i].atom = None;
+ }
+ else
+ {
+ values[i].type = hooks->type;
+ values[i].atom = properties[i];
+ }
}
meta_prop_get_values (window->display, xwindow,
values, n_properties);
- i = 0;
- while (i < n_properties)
+ for (i=0; i<n_properties; i++)
{
- reload_prop_value (window, &values[i], initial);
-
- ++i;
+ MetaWindowPropHooks *hooks = find_hooks (window->display,
+ properties[i]);
+
+ if (hooks && hooks->reload_func != NULL)
+ (* hooks->reload_func) (window, &values[i], initial);
}
meta_prop_free_values (values, n_properties);
@@ -152,37 +157,6 @@
g_free (values);
}
-/* Fill in the MetaPropValue used to get the value of "property" */
-static void
-init_prop_value (MetaDisplay *display,
- Atom property,
- MetaPropValue *value)
-{
- MetaWindowPropHooks *hooks = find_hooks (display, property);
-
- if (!hooks || hooks->type == META_PROP_VALUE_INVALID)
- {
- value->type = META_PROP_VALUE_INVALID;
- value->atom = None;
- }
- else
- {
- value->type = hooks->type;
- value->atom = property;
- }
-}
-
-static void
-reload_prop_value (MetaWindow *window,
- MetaPropValue *value,
- gboolean initial)
-{
- MetaWindowPropHooks *hooks = find_hooks (window->display, value->atom);
-
- if (hooks && hooks->reload_func != NULL)
- (* hooks->reload_func) (window, value, initial);
-}
-
static void
reload_wm_client_machine (MetaWindow *window,
MetaPropValue *value,
@@ -1566,6 +1540,9 @@
display->prop_hooks_table = NULL;
}
+/**
+ * Finds the hooks for a particular property.
+ */
static MetaWindowPropHooks*
find_hooks (MetaDisplay *display,
Atom property)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |