Hello community,

here is the log from the commit of package muffin for openSUSE:Factory checked 
in at 2016-05-10 09:27:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/muffin (Old)
 and      /work/SRC/openSUSE:Factory/.muffin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "muffin"

Changes:
--------
--- /work/SRC/openSUSE:Factory/muffin/muffin.changes    2016-04-30 
23:29:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.muffin.new/muffin.changes       2016-05-10 
09:27:30.000000000 +0200
@@ -1,0 +2,10 @@
+Sat May  7 07:12:54 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to version 3.0.1:
+  * display.c: Handle META_TILE_MAXIMIZE in
+    meta_resize_gravity_from_tile_mode().
+  * tiling: Fix resizing of partially maximised windows.
+  * frames.c: Do not infinite loop on the variants GList.
+    Make variable names less similar.
+
+-------------------------------------------------------------------

Old:
----
  muffin-3.0.0.tar.gz

New:
----
  muffin-3.0.1.tar.gz

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

Other differences:
------------------
++++++ muffin.spec ++++++
--- /var/tmp/diff_new_pack.O4IheA/_old  2016-05-10 09:27:31.000000000 +0200
+++ /var/tmp/diff_new_pack.O4IheA/_new  2016-05-10 09:27:31.000000000 +0200
@@ -20,7 +20,7 @@
 %define sover   0
 %define typelib typelib-1_0-MetaMuffin-0_0
 Name:           muffin
-Version:        3.0.0
+Version:        3.0.1
 Release:        0
 Summary:        Cinnamon Desktop default window manager
 License:        GPL-2.0+ and MIT

++++++ muffin-3.0.0.tar.gz -> muffin-3.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-3.0.0/configure.ac 
new/muffin-3.0.1/configure.ac
--- old/muffin-3.0.0/configure.ac       2016-04-24 13:25:12.000000000 +0200
+++ new/muffin-3.0.1/configure.ac       2016-05-06 15:35:45.000000000 +0200
@@ -2,7 +2,7 @@
 
 m4_define([muffin_major_version], [3])
 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-3.0.0/debian/changelog 
new/muffin-3.0.1/debian/changelog
--- old/muffin-3.0.0/debian/changelog   2016-04-24 13:25:12.000000000 +0200
+++ new/muffin-3.0.1/debian/changelog   2016-05-06 15:35:45.000000000 +0200
@@ -1,3 +1,12 @@
+muffin (3.0.1) sarah; urgency=medium
+
+  [ Michael Webster ]
+  * display.c: handle META_TILE_MAXIMIZE in 
meta_resize_gravity_from_tile_mode().
+  * tiling: Fix resizing of partially maximized windows -
+  * frames.c: don't infinite loop on the variants GList.  Make variable names 
less similar.
+
+ -- Clement Lefebvre <r...@linuxmint.com>  Fri, 06 May 2016 14:34:44 +0100
+
 muffin (3.0.0) sarah; urgency=medium
 
   [ Michael Webster ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-3.0.0/src/core/display.c 
new/muffin-3.0.1/src/core/display.c
--- old/muffin-3.0.0/src/core/display.c 2016-04-24 13:25:12.000000000 +0200
+++ new/muffin-3.0.1/src/core/display.c 2016-05-06 15:35:45.000000000 +0200
@@ -4937,6 +4937,9 @@
       case META_TILE_LRC:
         gravity = SouthEastGravity;
         break;
+      case META_TILE_MAXIMIZE:
+        gravity = CenterGravity;
+        break;
       default:
         break;
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-3.0.0/src/core/keybindings.c 
new/muffin-3.0.1/src/core/keybindings.c
--- old/muffin-3.0.0/src/core/keybindings.c     2016-04-24 13:25:12.000000000 
+0200
+++ new/muffin-3.0.1/src/core/keybindings.c     2016-05-06 15:35:45.000000000 
+0200
@@ -2690,11 +2690,21 @@
                   action == META_KEYBINDING_ACTION_PUSH_SNAP_UP ||
                   action == META_KEYBINDING_ACTION_PUSH_SNAP_DOWN;
 
-  MetaTileMode new_mode = get_new_tile_mode (mode, window->tile_mode);
+  MetaTileMode new_mode = get_new_tile_mode (mode, META_WINDOW_MAXIMIZED 
(window) ?
+                                                       META_TILE_MAXIMIZE : 
window->tile_mode);
   if (new_mode == window->tile_mode)
     return;
 
-  meta_window_tile (window, new_mode, snap);
+  if (new_mode == META_TILE_MAXIMIZE)
+    {
+      meta_window_maximize (window,
+                            META_MAXIMIZE_HORIZONTAL |
+                            META_MAXIMIZE_VERTICAL);
+    }
+  else
+    {
+      meta_window_tile (window, new_mode, snap);
+    }
 }
 
 static void
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-3.0.0/src/core/window.c 
new/muffin-3.0.1/src/core/window.c
--- old/muffin-3.0.0/src/core/window.c  2016-04-24 13:25:12.000000000 +0200
+++ new/muffin-3.0.1/src/core/window.c  2016-05-06 15:35:45.000000000 +0200
@@ -3474,7 +3474,7 @@
     meta_window_save_rect (window);
 
   meta_window_set_tile_type (window, META_WINDOW_TILE_TYPE_NONE);
-  window->tile_mode = META_TILE_MAXIMIZE;
+  window->tile_mode = META_TILE_NONE;
   notify_tile_type (window);
   normalize_tile_state (window);
 
@@ -3733,8 +3733,8 @@
      meta_window_save_rect (window);
   }
 
-  window->maximized_horizontally = FALSE || window->tile_mode == 
META_TILE_MAXIMIZE;
-  window->maximized_vertically = FALSE || window->tile_mode == 
META_TILE_MAXIMIZE;
+  window->maximized_horizontally = FALSE;
+  window->maximized_vertically = FALSE;
 
   if (window->tile_mode != META_TILE_NONE) {
       if (window->snap_queued || window->resizing_tile_type == 
META_WINDOW_TILE_TYPE_SNAPPED) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/muffin-3.0.0/src/ui/frames.c 
new/muffin-3.0.1/src/ui/frames.c
--- old/muffin-3.0.0/src/ui/frames.c    2016-04-24 13:25:12.000000000 +0200
+++ new/muffin-3.0.1/src/ui/frames.c    2016-05-06 15:35:45.000000000 +0200
@@ -234,20 +234,20 @@
 update_style_contexts (MetaFrames *frames)
 {
   GtkStyleContext *style;
-  GList *variants, *variant;
+  GList *variant_list, *variant;
 
   if (frames->normal_style)
     g_object_unref (frames->normal_style);
   frames->normal_style = create_style_context (frames, NULL);
 
-  variants = g_hash_table_get_keys (frames->style_variants);
-  for (variant = variants; variant; variant = variants->next)
+  variant_list = g_hash_table_get_keys (frames->style_variants);
+  for (variant = variant_list; variant; variant = variant->next)
     {
       style = create_style_context (frames, (char *)variant->data);
       g_hash_table_insert (frames->style_variants,
                            g_strdup (variant->data), style);
     }
-  g_list_free (variants);
+  g_list_free (variant_list);
 }
 
 static void


Reply via email to