[xfwm4] Add xfwm4-4.8.1-relax_resize_wrt_to_size_increments.patch

Christoph Wickert cwickert at fedoraproject.org
Mon Sep 19 18:55:52 UTC 2011


commit 3a193d47e32bf77880b6ea7122818cf3927215e8
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Mon Sep 19 20:55:21 2011 +0200

    Add xfwm4-4.8.1-relax_resize_wrt_to_size_increments.patch

 ...4.8.1-relax_resize_wrt_to_size_increments.patch |   26 ++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/xfwm4-4.8.1-relax_resize_wrt_to_size_increments.patch b/xfwm4-4.8.1-relax_resize_wrt_to_size_increments.patch
new file mode 100644
index 0000000..8895acb
--- /dev/null
+++ b/xfwm4-4.8.1-relax_resize_wrt_to_size_increments.patch
@@ -0,0 +1,26 @@
+From bf911e27371e49344297f9c0c1b24b953f3c2b03 Mon Sep 17 00:00:00 2001
+From: Olivier Fourdan <fourdan at xfce.org>
+Date: Thu, 31 Mar 2011 09:51:36 +0000
+Subject: Relax resize wrt to size increments
+
+---
+diff --git a/src/client.c b/src/client.c
+index b21e27f..41a674a 100644
+--- a/src/client.c
++++ b/src/client.c
+@@ -666,11 +666,11 @@ clientConfigure (Client * c, XWindowChanges * wc, unsigned long mask, unsigned s
+     }
+     if (mask & CWWidth)
+     {
+-        clientSetWidth (c, wc->width);
++        c->width = wc->width;
+     }
+     if (mask & CWHeight)
+     {
+-        clientSetHeight (c, wc->height);
++        c->height = wc->height;
+     }
+     if (mask & CWBorderWidth)
+     {
+--
+cgit 


More information about the scm-commits mailing list