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-11-27 00:51:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/muffin (Old)
 and      /work/SRC/openSUSE:Factory/.muffin.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "muffin"

Sat Nov 27 00:51:39 2021 rev:27 rq:934039 version:5.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/muffin/muffin.changes    2021-08-18 
08:56:46.582913918 +0200
+++ /work/SRC/openSUSE:Factory/.muffin.new.1895/muffin.changes  2021-11-27 
00:52:32.654549354 +0100
@@ -1,0 +2,24 @@
+Fri Nov 26 12:23:29 UTC 2021 - Aaron Stern <ukbeas...@protonmail.com>
+
+- Update to version 5.2.0.
+  * Don't allow fullscreen windows to also become decorated.
+  * window.c: Fix de-tiling using keyboard shortcuts.
+  * compositor.c: Skip offscreen windows when unredirecting.
+  * Fix regression caused by 610d60d953cb1 - it was affecting programs that 
started in fullscreen mode.
+  * window.c: Properly update gtK_edge_constraints
+  * window.c: Update a wrong value in our edge constraints
+  * debian/control: Update build dep, remove transitional package.
+  * meta-shadow-factory: Tweak window shadows
+  * build: improve check ACLOCAL_AMFLAGS
+
+-------------------------------------------------------------------
+Tue Nov  2 03:49:45 UTC 2021 - Aaron Stern <ukbeas...@protonmail.com>
+
+- Update to version 5.0.2.
+  * Don't allow fullscreen windows to also become decorated.
+  * window.c: Fix de-tiling using keyboard shortcuts.
+  * compositor.c: Skip offscreen windows when unredirecting.
+  * window.c: Properly update gtK_edge_constraints
+  * window.c: Update a wrong value in our edge constraints
+
+-------------------------------------------------------------------

Old:
----
  muffin-5.0.1.tar.gz

New:
----
  muffin-5.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ muffin.spec ++++++
--- /var/tmp/diff_new_pack.uQJvvC/_old  2021-11-27 00:52:33.086547862 +0100
+++ /var/tmp/diff_new_pack.uQJvvC/_new  2021-11-27 00:52:33.086547862 +0100
@@ -21,7 +21,7 @@
 %define typelib typelib-1_0-Muffin-0_0
 %define _lto_cflags %{nil}
 Name:           muffin
-Version:        5.0.1
+Version:        5.2.0
 Release:        0
 Summary:        Cinnamon Desktop default window manager
 License:        GPL-2.0-or-later AND MIT
@@ -104,6 +104,7 @@
 
 %build
 %configure --disable-static \
+           --enable-startup-notification=yes \
            --enable-compile-warnings=minimum \
            --disable-wayland-egl-platform \
            --disable-wayland-egl-server \

++++++ muffin-5.0.1.tar.gz -> muffin-5.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-5.0.1/configure.ac 
new/muffin-5.2.0/configure.ac
--- old/muffin-5.0.1/configure.ac       2021-06-12 15:05:17.000000000 +0200
+++ new/muffin-5.2.0/configure.ac       2021-11-15 13:54:50.000000000 +0100
@@ -1,8 +1,8 @@
 AC_PREREQ(2.50)
 
 m4_define([muffin_major_version], [5])
-m4_define([muffin_minor_version], [0])
-m4_define([muffin_micro_version], [1])
+m4_define([muffin_minor_version], [2])
+m4_define([muffin_micro_version], [0])
 
 m4_define([muffin_version],
           [muffin_major_version.muffin_minor_version.muffin_micro_version])
@@ -43,7 +43,13 @@
 AC_SUBST(MUFFIN_PLUGIN_DIR)
 
 # Honor aclocal flags
-AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \${ACLOCAL_FLAGS}"])
+  dnl ensure that when the Automake generated makefile calls aclocal,
+  dnl it honours the $ACLOCAL_FLAGS environment variable
+  ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
+  if test -n "$ac_macro_dir"; then
+    ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
+  fi
+  AC_SUBST([ACLOCAL_AMFLAGS])
 
 GETTEXT_PACKAGE=muffin
 AC_SUBST(GETTEXT_PACKAGE)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-5.0.1/debian/changelog 
new/muffin-5.2.0/debian/changelog
--- old/muffin-5.0.1/debian/changelog   2021-06-12 15:05:17.000000000 +0200
+++ new/muffin-5.2.0/debian/changelog   2021-11-15 13:54:50.000000000 +0100
@@ -1,3 +1,30 @@
+muffin (5.2.0) una; urgency=medium
+
+  [ Michael Webster ]
+  * Don't allow fullscreen windows to also become decorated.
+  * window.c: Fix de-tiling using keyboard shortcuts.
+
+  [ Nikita Karnauhov ]
+  * compositor.c: Skip offscreen windows when unredirecting.
+
+  [ Michael Webster ]
+  * Fix regression caused by 610d60d953cb1 - it was affecting programs that 
started in fullscreen mode.
+
+  [ JosephMcc ]
+  * window.c: Properly update gtK_edge_constraints
+  * window.c: Update a wrong value in our edge constraints
+
+  [ Michael Webster ]
+  * debian/control: Update build dep, remove transitional package.
+
+  [ JosephMcc ]
+  * meta-shadow-factory: Tweak window shadows
+
+  [ Pro-pra ]
+  * build: improve check ACLOCAL_AMFLAGS (#605)
+
+ -- Clement Lefebvre <r...@linuxmint.com>  Mon, 15 Nov 2021 12:53:52 +0000
+
 muffin (5.0.1) uma; urgency=medium
 
   [ Michael Webster ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-5.0.1/debian/control 
new/muffin-5.2.0/debian/control
--- old/muffin-5.0.1/debian/control     2021-06-12 15:05:17.000000000 +0200
+++ new/muffin-5.2.0/debian/control     2021-11-15 13:54:50.000000000 +0100
@@ -13,7 +13,7 @@
  libcanberra-gtk3-dev,
  libcinnamon-desktop-dev (>= 3.6),
  libgirepository1.0-dev (>= 0.9.12),
- libgl1-mesa-dev,
+ libglvnd-dev,
  libglib2.0-dev (>= 2.37.3),
  libgtk-3-dev (>= 3.9.12),
  libice-dev,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-5.0.1/src/compositor/compositor.c 
new/muffin-5.2.0/src/compositor/compositor.c
--- old/muffin-5.0.1/src/compositor/compositor.c        2021-06-12 
15:05:17.000000000 +0200
+++ new/muffin-5.2.0/src/compositor/compositor.c        2021-11-15 
13:54:50.000000000 +0100
@@ -1265,15 +1265,24 @@
   GList *l;
   MetaCompositor *compositor = data;
   GSList *screens = compositor->display->screens;
-  MetaWindowActor *top_window;
+  MetaWindowActor *top_window = NULL;
   MetaWindowActor *expected_unredirected_window = NULL;
 
   if (compositor->windows == NULL)
     return TRUE;
 
-  top_window = g_list_last (compositor->windows)->data;
+  for (l = g_list_last (compositor->windows); l; l = l->prev)
+    {
+      MetaRectangle *rect = &meta_window_actor_get_meta_window (l->data)->rect;
+      if (rect->x + rect->width > 0 && rect->y + rect->height > 0)
+        {
+          top_window = l->data;
+          break;
+        }
+    }
 
-  if (meta_window_actor_should_unredirect (top_window) &&
+  if (top_window != NULL &&
+      meta_window_actor_should_unredirect (top_window) &&
       compositor->disable_unredirect_count == 0)
     expected_unredirected_window = top_window;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-5.0.1/src/compositor/meta-shadow-factory.c 
new/muffin-5.2.0/src/compositor/meta-shadow-factory.c
--- old/muffin-5.0.1/src/compositor/meta-shadow-factory.c       2021-06-12 
15:05:17.000000000 +0200
+++ new/muffin-5.2.0/src/compositor/meta-shadow-factory.c       2021-11-15 
13:54:50.000000000 +0100
@@ -118,17 +118,17 @@
 /* The first element in this array also defines the default parameters
  * for newly created classes */
 static MetaShadowClassInfo default_shadow_classes[] = {
-  { "normal",       { 6, -1, 0, 3, 255 }, { 3, -1, 0, 3, 128 } },
-  { "dialog",       { 6, -1, 0, 3, 255 }, { 3, -1, 0, 3, 128 } },
-  { "modal_dialog", { 6, -1, 0, 1, 255 }, { 3, -1, 0, 3, 128 } },
-  { "utility",      { 3, -1, 0, 1, 255 }, { 3, -1, 0, 1, 128 } },
-  { "border",       { 6, -1, 0, 3, 255 }, { 3, -1, 0, 3, 128 } },
-  { "menu",         { 6, -1, 0, 3, 255 }, { 3, -1, 0, 0, 128 } },
+  { "normal",       { 10, -1, 0, 3, 128 }, { 8, -1, 0, 2, 64 } },
+  { "dialog",       { 10, -1, 0, 3, 128 }, { 8, -1, 0, 2, 64 } },
+  { "modal_dialog", { 10, -1, 0, 3, 128 }, { 8, -1, 0, 2, 64 } },
+  { "utility",      { 10, -1, 0, 3, 128 }, { 8, -1, 0, 2, 64 } },
+  { "border",       { 10, -1, 0, 3, 128 }, { 8, -1, 0, 2, 64 } },
+  { "menu",         { 10, -1, 0, 3, 128 }, { 8, -1, 0, 2, 64 } },
 
-  { "popup-menu",    { 1, -1, 0, 1, 128 }, { 1, -1, 0, 1, 128 } },
+  { "popup-menu",    { 1, -1, 0, 0, 128 }, { 1, -1, 0, 0, 128 } },
 
-  { "dropdown-menu", { 1, 10, 0, 1, 128 }, { 1, 10, 0, 1, 128 } },
-  { "attached",      { 6, -1, 0, 1, 255 }, { 3, -1, 0, 3, 128 } }
+  { "dropdown-menu", { 1, -1, 0, 0, 128 }, { 1, -1, 0, 0, 128 } },
+  { "attached",      { 10, -1, 0, 3, 128 }, { 8, -1, 0, 2, 64 } }
 };
 
 G_DEFINE_TYPE (MetaShadowFactory, meta_shadow_factory, G_TYPE_OBJECT);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-5.0.1/src/core/constraints.c 
new/muffin-5.2.0/src/core/constraints.c
--- old/muffin-5.0.1/src/core/constraints.c     2021-06-12 15:05:17.000000000 
+0200
+++ new/muffin-5.2.0/src/core/constraints.c     2021-11-15 13:54:50.000000000 
+0100
@@ -527,8 +527,7 @@
   if (window->placed || did_placement)
     {
       if (window->maximize_horizontally_after_placement ||
-          window->maximize_vertically_after_placement   ||
-          window->fullscreen_after_placement)
+          window->maximize_vertically_after_placement)
         {
           /* define a sane saved_rect so that the user can unmaximize or
            * make unfullscreen to something reasonable.
@@ -563,15 +562,6 @@
           if (!window->fullscreen)
             meta_frame_calc_borders (window->frame, info->borders);
 
-          if (window->fullscreen_after_placement)
-            {
-              window->saved_rect = info->current;
-              window->fullscreen = TRUE;
-              window->fullscreen_after_placement = FALSE;
-
-              g_object_notify (G_OBJECT (window), "fullscreen");
-            }
-
           window->maximize_horizontally_after_placement = FALSE;
           window->maximize_vertically_after_placement = FALSE;
         }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-5.0.1/src/core/window-private.h 
new/muffin-5.2.0/src/core/window-private.h
--- old/muffin-5.0.1/src/core/window-private.h  2021-06-12 15:05:17.000000000 
+0200
+++ new/muffin-5.2.0/src/core/window-private.h  2021-11-15 13:54:50.000000000 
+0100
@@ -226,9 +226,6 @@
   /* Whether the urgent flag of WM_HINTS is set */
   guint wm_hints_urgent : 1;
 
-  /* Whether we have to fullscreen after placement */
-  guint fullscreen_after_placement : 1;
-
   /* Area to cover when in fullscreen mode.  If _NET_WM_FULLSCREEN_MONITORS has
    * been overridden (via a client message), the window will cover the union of
    * these monitors.  If not, this is the single monitor which the window's
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-5.0.1/src/core/window-props.c 
new/muffin-5.2.0/src/core/window-props.c
--- old/muffin-5.0.1/src/core/window-props.c    2021-06-12 15:05:17.000000000 
+0200
+++ new/muffin-5.2.0/src/core/window-props.c    2021-11-15 13:54:50.000000000 
+0100
@@ -902,7 +902,7 @@
       else if (value->v.atom_list.atoms[i] == 
window->display->atom__NET_WM_STATE_SKIP_PAGER)
         window->wm_state_skip_pager = TRUE;
       else if (value->v.atom_list.atoms[i] == 
window->display->atom__NET_WM_STATE_FULLSCREEN)
-        window->fullscreen_after_placement = TRUE;
+        window->fullscreen = TRUE;
       else if (value->v.atom_list.atoms[i] == 
window->display->atom__NET_WM_STATE_ABOVE)
         window->wm_state_above = TRUE;
       else if (value->v.atom_list.atoms[i] == 
window->display->atom__NET_WM_STATE_BELOW)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-5.0.1/src/core/window.c 
new/muffin-5.2.0/src/core/window.c
--- old/muffin-5.0.1/src/core/window.c  2021-06-12 15:05:17.000000000 +0200
+++ new/muffin-5.2.0/src/core/window.c  2021-11-15 13:54:50.000000000 +0100
@@ -1211,7 +1211,6 @@
   window->tile_after_placement = FALSE;
   window->move_after_placement = FALSE;
   window->fullscreen = FALSE;
-  window->fullscreen_after_placement = FALSE;
   window->fullscreen_monitors[0] = -1;
   window->require_fully_onscreen = TRUE;
   window->require_on_single_monitor = TRUE;
@@ -4122,15 +4121,6 @@
 meta_window_unmaximize (MetaWindow        *window,
                         MetaMaximizeFlags  directions)
 {
-  /* Restore tiling if necessary */
-  if (window->tile_mode == META_TILE_LEFT ||
-      window->tile_mode == META_TILE_RIGHT)
-    {
-      window->maximized_horizontally = FALSE;
-      meta_window_real_tile (window, FALSE);
-      return;
-    }
-
   meta_window_unmaximize_internal (window, directions, &window->saved_rect,
                                    NorthWestGravity);
 }
@@ -9496,6 +9486,8 @@
         window->tile_monitor_number = monitor->number;
     }
 
+  update_edge_constraints (window);
+
   /* shake loose (unmaximize) maximized or tiled window if dragged beyond
    * the threshold in the Y direction. Tiled windows can also be pulled
    * loose via X motion.
@@ -12378,8 +12370,8 @@
     case META_TILE_TOP:
       window->edge_constraints[0] = META_EDGE_CONSTRAINT_MONITOR;
       window->edge_constraints[1] = META_EDGE_CONSTRAINT_MONITOR;
-      window->edge_constraints[2] = META_EDGE_CONSTRAINT_MONITOR;
-      window->edge_constraints[3] = META_EDGE_CONSTRAINT_NONE;
+      window->edge_constraints[2] = META_EDGE_CONSTRAINT_NONE;
+      window->edge_constraints[3] = META_EDGE_CONSTRAINT_MONITOR;
       break;
 
     case META_TILE_BOTTOM:
@@ -12465,9 +12457,7 @@
       meta_window_real_tile (window, TRUE);
   } else {
       window->last_tile_mode = window->tile_mode;
-      window->tile_mode = mode;
       window->custom_snap_size = FALSE;
-      meta_window_set_tile_type (window, META_WINDOW_TILE_TYPE_NONE);
       window->tile_monitor_number = window->saved_maximize ? 
window->monitor->number
                                                            : -1;
       if (window->saved_maximize)

Reply via email to