r45410 - in /desktop/unstable/mutter/debian: changelog patches/02_theme-Make-sure-to-clear-the-entirety-of-buttons-pro.patch patches/series

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Tue Jun 30 17:40:21 UTC 2015


Author: biebl
Date: Tue Jun 30 17:40:21 2015
New Revision: 45410

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=45410
Log:
Cherry-pick upstream commit which fixes the issue that window resize
handles were not shown.

Added:
    desktop/unstable/mutter/debian/patches/02_theme-Make-sure-to-clear-the-entirety-of-buttons-pro.patch
Modified:
    desktop/unstable/mutter/debian/changelog
    desktop/unstable/mutter/debian/patches/series

Modified: desktop/unstable/mutter/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/changelog?rev=45410&op=diff
==============================================================================
--- desktop/unstable/mutter/debian/changelog	[utf-8] (original)
+++ desktop/unstable/mutter/debian/changelog	[utf-8] Tue Jun 30 17:40:21 2015
@@ -1,3 +1,10 @@
+mutter (3.16.2-3) UNRELEASED; urgency=medium
+
+  * Cherry-pick upstream commit which fixes the issue that window resize
+    handles were not shown.
+
+ -- Michael Biebl <biebl at debian.org>  Mon, 29 Jun 2015 18:43:50 +0200
+
 mutter (3.16.2-2) unstable; urgency=medium
 
   * Upload to unstable.

Added: desktop/unstable/mutter/debian/patches/02_theme-Make-sure-to-clear-the-entirety-of-buttons-pro.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/patches/02_theme-Make-sure-to-clear-the-entirety-of-buttons-pro.patch?rev=45410&op=file
==============================================================================
--- desktop/unstable/mutter/debian/patches/02_theme-Make-sure-to-clear-the-entirety-of-buttons-pro.patch	(added)
+++ desktop/unstable/mutter/debian/patches/02_theme-Make-sure-to-clear-the-entirety-of-buttons-pro.patch	[utf-8] Tue Jun 30 17:40:21 2015
@@ -0,0 +1,34 @@
+From 67f2e507e832148d6f09eddc747fcf0e16277a59 Mon Sep 17 00:00:00 2001
+From: "Jasper St. Pierre" <jstpierre at mecheye.net>
+Date: Tue, 23 Jun 2015 15:23:45 -0700
+Subject: [PATCH] theme: Make sure to clear the entirety of buttons properly
+
+In commit cc5def1, buttons were changed from GdkRectangles to
+MetaButtonSpace units, but the corresponding memset hack was not.
+
+This means that the clickable portion of the unshade rectangle
+was always set to uninitalized memory. The effects of this were
+random, but in cases where the moon is aligned just right, the
+rectangle would graze over the borders, and so it would take priority
+over other borders and show a pointer cursor instead of a resize
+cursor.
+---
+ src/ui/theme-private.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ui/theme-private.h b/src/ui/theme-private.h
+index cdf23a0..a61457e 100644
+--- a/src/ui/theme-private.h
++++ b/src/ui/theme-private.h
+@@ -115,7 +115,7 @@ struct _MetaFrameGeometry
+ 
+   /* used for a memset hack */
+ #define ADDRESS_OF_BUTTON_RECTS(fgeom) (((char*)(fgeom)) + G_STRUCT_OFFSET (MetaFrameGeometry, close_rect))
+-#define LENGTH_OF_BUTTON_RECTS (G_STRUCT_OFFSET (MetaFrameGeometry, unstick_rect) + sizeof (GdkRectangle) - G_STRUCT_OFFSET (MetaFrameGeometry, close_rect))
++#define LENGTH_OF_BUTTON_RECTS (G_STRUCT_OFFSET (MetaFrameGeometry, unstick_rect) + sizeof (MetaButtonSpace) - G_STRUCT_OFFSET (MetaFrameGeometry, close_rect))
+ 
+   /* The button rects (if changed adjust memset hack) */
+   MetaButtonSpace close_rect;
+-- 
+2.1.4
+

Modified: desktop/unstable/mutter/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/patches/series?rev=45410&op=diff
==============================================================================
--- desktop/unstable/mutter/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/mutter/debian/patches/series	[utf-8] Tue Jun 30 17:40:21 2015
@@ -1 +1,2 @@
 01_Wcast-align.patch
+02_theme-Make-sure-to-clear-the-entirety-of-buttons-pro.patch




More information about the pkg-gnome-commits mailing list