Hello community, here is the log from the commit of package muffin for openSUSE:Factory checked in at 2016-05-13 09:24:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-05-10 09:27:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.muffin.new/muffin.changes 2016-05-13 09:24:23.000000000 +0200 @@ -1,0 +2,14 @@ +Thu May 12 09:54:43 UTC 2016 - [email protected] + +- Update to version 3.0.3 (changes since 3.0.1): + * window.c: Handle META_TILE_MAXIMIZE in update_tile_mode, and + move its call to handle both moving and resizing. This + prevents strange resize behaviour when you move a window to an + upper tile region without tiling it. Its tile state becomes + inconsistent, and an attempt to resize it vertically ends up + resizing in the wrong (or both) directions. + * meta-window-actor.c: Put META_WINDOW_DND-type windows in the + regular window group (xdndHandler.js in cinnamon expects it + there). + +------------------------------------------------------------------- Old: ---- muffin-3.0.1.tar.gz New: ---- muffin-3.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ muffin.spec ++++++ --- /var/tmp/diff_new_pack.KwEEOl/_old 2016-05-13 09:24:24.000000000 +0200 +++ /var/tmp/diff_new_pack.KwEEOl/_new 2016-05-13 09:24:24.000000000 +0200 @@ -20,7 +20,7 @@ %define sover 0 %define typelib typelib-1_0-MetaMuffin-0_0 Name: muffin -Version: 3.0.1 +Version: 3.0.3 Release: 0 Summary: Cinnamon Desktop default window manager License: GPL-2.0+ and MIT ++++++ muffin-3.0.1.tar.gz -> muffin-3.0.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/muffin-3.0.1/configure.ac new/muffin-3.0.3/configure.ac --- old/muffin-3.0.1/configure.ac 2016-05-06 15:35:45.000000000 +0200 +++ new/muffin-3.0.3/configure.ac 2016-05-11 15:15:55.000000000 +0200 @@ -2,7 +2,7 @@ m4_define([muffin_major_version], [3]) m4_define([muffin_minor_version], [0]) -m4_define([muffin_micro_version], [1]) +m4_define([muffin_micro_version], [3]) 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.1/debian/changelog new/muffin-3.0.3/debian/changelog --- old/muffin-3.0.1/debian/changelog 2016-05-06 15:35:45.000000000 +0200 +++ new/muffin-3.0.3/debian/changelog 2016-05-11 15:15:55.000000000 +0200 @@ -1,3 +1,17 @@ +muffin (3.0.3) sarah; urgency=medium + + [ Michael Webster ] + * meta-window-actor.c: put META_WINDOW_DND-type windows in the regular window group (xdndHandler.js in cinnamon expects it there) + + -- Clement Lefebvre <[email protected]> Wed, 11 May 2016 14:15:10 +0100 + +muffin (3.0.2) sarah; urgency=medium + + [ Michael Webster ] + * window.c: Handle META_TILE_MAXIMIZE in update_tile_mode, and move its call to handle both moving and resizing. This prevents strange resize behavior when you move a window to an upper tile region without tiling it. Its tile state becomes inconsistent, and an attempt to resize it vertically ends up resizing in the wrong (or both) directions. + + -- Clement Lefebvre <[email protected]> Tue, 10 May 2016 16:31:52 +0100 + muffin (3.0.1) sarah; urgency=medium [ Michael Webster ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/muffin-3.0.1/src/compositor/meta-window-actor.c new/muffin-3.0.3/src/compositor/meta-window-actor.c --- old/muffin-3.0.1/src/compositor/meta-window-actor.c 2016-05-06 15:35:45.000000000 +0200 +++ new/muffin-3.0.3/src/compositor/meta-window-actor.c 2016-05-11 15:15:55.000000000 +0200 @@ -1694,7 +1694,9 @@ /* Hang our compositor window state off the MetaWindow for fast retrieval */ meta_window_set_compositor_private (window, G_OBJECT (self)); - if (window->layer == META_LAYER_OVERRIDE_REDIRECT) + if (window->type == META_WINDOW_DND) + window_group = info->window_group; + else if (window->layer == META_LAYER_OVERRIDE_REDIRECT) window_group = info->top_window_group; else if (window->type == META_WINDOW_DESKTOP) window_group = info->bottom_window_group; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/muffin-3.0.1/src/core/window.c new/muffin-3.0.3/src/core/window.c --- old/muffin-3.0.1/src/core/window.c 2016-05-06 15:35:45.000000000 +0200 +++ new/muffin-3.0.3/src/core/window.c 2016-05-11 15:15:55.000000000 +0200 @@ -9944,6 +9944,7 @@ case META_TILE_LRC: case META_TILE_TOP: case META_TILE_BOTTOM: + case META_TILE_MAXIMIZE: if (!META_WINDOW_TILED_OR_SNAPPED (window)) window->tile_mode = META_TILE_NONE; break; @@ -10096,18 +10097,19 @@ event->xbutton.x_root, event->xbutton.y_root, TRUE); - - /* If a tiled window has been dragged free with a - * mouse resize without snapping back to the tiled - * state, it will end up with an inconsistent tile - * mode on mouse release; cleaning the mode earlier - * would break the ability to snap back to the tiled - * state, so we wait until mouse release. - */ - if (window->tile_type == META_WINDOW_TILE_TYPE_NONE) - update_tile_mode (window); } + + /* If a tiled window has been dragged free with a + * mouse resize without snapping back to the tiled + * state, it will end up with an inconsistent tile + * mode on mouse release; cleaning the mode earlier + * would break the ability to snap back to the tiled + * state, so we wait until mouse release. + */ + if (window->tile_type == META_WINDOW_TILE_TYPE_NONE) + update_tile_mode (window); } + window->maybe_retile_maximize = FALSE; meta_display_end_grab_op (window->display, event->xbutton.time); break;
