Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package muffin for openSUSE:Factory checked in at 2021-08-18 08:55:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/muffin (Old) and /work/SRC/openSUSE:Factory/.muffin.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "muffin" Wed Aug 18 08:55:58 2021 rev:26 rq:912475 version:5.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/muffin/muffin.changes 2021-06-04 22:43:39.427135486 +0200 +++ /work/SRC/openSUSE:Factory/.muffin.new.1899/muffin.changes 2021-08-18 08:56:46.582913918 +0200 @@ -1,0 +2,8 @@ +Wed Jul 28 10:58:44 UTC 2021 - andy great <[email protected]> + +- Update to version 5.0.1. + * window.c: go back to ewmh < 1.2 support for window activation. + * workspace.c: Add some safety checks on some public methods. + * window.c: Turn some warnings into focus debug messages. + +------------------------------------------------------------------- Old: ---- muffin-5.0.0.tar.gz New: ---- muffin-5.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ muffin.spec ++++++ --- /var/tmp/diff_new_pack.pejVoy/_old 2021-08-18 08:56:47.018913406 +0200 +++ /var/tmp/diff_new_pack.pejVoy/_new 2021-08-18 08:56:47.018913406 +0200 @@ -21,7 +21,7 @@ %define typelib typelib-1_0-Muffin-0_0 %define _lto_cflags %{nil} Name: muffin -Version: 5.0.0 +Version: 5.0.1 Release: 0 Summary: Cinnamon Desktop default window manager License: GPL-2.0-or-later AND MIT ++++++ muffin-5.0.0.tar.gz -> muffin-5.0.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/muffin-5.0.0/configure.ac new/muffin-5.0.1/configure.ac --- old/muffin-5.0.0/configure.ac 2021-05-27 16:45:48.000000000 +0200 +++ new/muffin-5.0.1/configure.ac 2021-06-12 15:05:17.000000000 +0200 @@ -2,7 +2,7 @@ m4_define([muffin_major_version], [5]) m4_define([muffin_minor_version], [0]) -m4_define([muffin_micro_version], [0]) +m4_define([muffin_micro_version], [1]) m4_define([muffin_version], [muffin_major_version.muffin_minor_version.muffin_micro_version]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/muffin-5.0.0/debian/changelog new/muffin-5.0.1/debian/changelog --- old/muffin-5.0.0/debian/changelog 2021-05-27 16:45:48.000000000 +0200 +++ new/muffin-5.0.1/debian/changelog 2021-06-12 15:05:17.000000000 +0200 @@ -1,3 +1,12 @@ +muffin (5.0.1) uma; urgency=medium + + [ Michael Webster ] + * window.c: go back to ewmh < 1.2 support for window activation. + * workspace.c: Add some safety checks on some public methods. + * window.c: Turn some warnings into focus debug messages. + + -- Clement Lefebvre <[email protected]> Sat, 12 Jun 2021 14:04:56 +0100 + muffin (5.0.0) uma; urgency=medium [ orbea ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/muffin-5.0.0/src/core/window.c new/muffin-5.0.1/src/core/window.c --- old/muffin-5.0.0/src/core/window.c 2021-05-27 16:45:48.000000000 +0200 +++ new/muffin-5.0.1/src/core/window.c 2021-06-12 15:05:17.000000000 +0200 @@ -4433,8 +4433,7 @@ * honor 0 timestamps for pagers. */ can_ignore_outdated_timestamps = - (timestamp != 0 || (source_indication != META_CLIENT_TYPE_PAGER)); - + (timestamp != 0 || (FALSE && source_indication != META_CLIENT_TYPE_PAGER)); if (XSERVER_TIME_IS_BEFORE (timestamp, window->display->last_user_time) && can_ignore_outdated_timestamps) { @@ -4449,8 +4448,9 @@ /* For those stupid pagers, get a valid timestamp and show a warning */ if (timestamp == 0) { - meta_warning ("meta_window_activate called by a pager with a 0 timestamp; " - "the pager needs to be fixed.\n"); + meta_topic (META_DEBUG_FOCUS, + "meta_window_activate called by a pager with a 0 timestamp; " + "the pager needs to be fixed.\n"); timestamp = meta_display_get_current_time_roundtrip (window->display); } @@ -4516,7 +4516,7 @@ * we were such. If we change the pager behavior later, we could revisit * this and just add extra flags to window_activate. */ - window_activate (window, timestamp, META_CLIENT_TYPE_APPLICATION, NULL); + window_activate (window, timestamp, META_CLIENT_TYPE_PAGER, NULL); } void @@ -7423,9 +7423,10 @@ if (timestamp == 0) { /* Client using older EWMH _NET_ACTIVE_WINDOW without a timestamp */ - meta_warning ("Buggy client sent a _NET_ACTIVE_WINDOW message with a " - "timestamp of 0 for %s\n", - window->desc); + meta_topic (META_DEBUG_FOCUS, + "Buggy client sent a _NET_ACTIVE_WINDOW message with a " + "timestamp of 0 for %s\n", + window->desc); timestamp = meta_display_get_current_time (display); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/muffin-5.0.0/src/core/workspace.c new/muffin-5.0.1/src/core/workspace.c --- old/muffin-5.0.0/src/core/workspace.c 2021-05-27 16:45:48.000000000 +0200 +++ new/muffin-5.0.1/src/core/workspace.c 2021-06-12 15:05:17.000000000 +0200 @@ -741,6 +741,8 @@ MetaWindow *focus_this, guint32 timestamp) { + g_return_if_fail (META_IS_WORKSPACE (workspace)); + meta_workspace_activate_internal (workspace, focus_this, 0, timestamp); } @@ -748,6 +750,8 @@ meta_workspace_activate (MetaWorkspace *workspace, guint32 timestamp) { + g_return_if_fail (META_IS_WORKSPACE (workspace)); + meta_workspace_activate_internal (workspace, NULL, 0, timestamp); } @@ -765,12 +769,16 @@ MetaMotionDirection direction, guint32 timestamp) { + g_return_if_fail (META_IS_WORKSPACE (workspace)); + meta_workspace_activate_internal (workspace, NULL, direction, timestamp); } int meta_workspace_index (MetaWorkspace *workspace) { + g_return_val_if_fail (META_IS_WORKSPACE (workspace), 0); + int ret = g_list_index (workspace->screen->workspaces, workspace); /* return value is negative if the workspace is invalid */ return ret; @@ -779,6 +787,8 @@ void meta_workspace_update_window_hints (MetaWorkspace *workspace) { + g_return_if_fail (META_IS_WORKSPACE (workspace)); + GList *l = workspace->windows; while (l) { @@ -802,6 +812,8 @@ GList* meta_workspace_list_windows (MetaWorkspace *workspace) { + g_return_val_if_fail (META_IS_WORKSPACE (workspace), NULL); + GSList *display_windows; GSList *tmp; GList *workspace_windows; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/muffin-5.0.0/src/meta/workspace.h new/muffin-5.0.1/src/meta/workspace.h --- old/muffin-5.0.0/src/meta/workspace.h 2021-05-27 16:45:48.000000000 +0200 +++ new/muffin-5.0.1/src/meta/workspace.h 2021-06-12 15:05:17.000000000 +0200 @@ -41,7 +41,7 @@ #define META_TYPE_WORKSPACE (meta_workspace_get_type ()) #define META_WORKSPACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), META_TYPE_WORKSPACE, MetaWorkspace)) #define META_WORKSPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), META_TYPE_WORKSPACE, MetaWorkspaceClass)) -#define META_IS_WORKSPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), META_WORKSPACE_TYPE)) +#define META_IS_WORKSPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), META_TYPE_WORKSPACE)) #define META_IS_WORKSPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), META_TYPE_WORKSPACE)) #define META_WORKSPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), META_TYPE_WORKSPACE, MetaWorkspaceClass))
