summarylogtreecommitdiffstats
path: root/0001-Rewrote-smartPlacement.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-Rewrote-smartPlacement.patch')
-rw-r--r--0001-Rewrote-smartPlacement.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/0001-Rewrote-smartPlacement.patch b/0001-Rewrote-smartPlacement.patch
index e6931540a8a5..0c7c8ba27c75 100644
--- a/0001-Rewrote-smartPlacement.patch
+++ b/0001-Rewrote-smartPlacement.patch
@@ -1,4 +1,4 @@
-From 43f53e9bef9bc8004e4ab59e915de5a4202afa77 Mon Sep 17 00:00:00 2001
+From 489ba880f18bc527c4d56a6aa7c333d780fe7cc7 Mon Sep 17 00:00:00 2001
From: Olivier Brunel <jjk@jjacky.com>
Date: Sun, 8 Mar 2015 13:22:12 +0100
Subject: [PATCH 1/3] Rewrote smartPlacement()
@@ -17,13 +17,14 @@ Signed-off-by: Olivier Brunel <jjk@jjacky.com>
1 file changed, 270 insertions(+), 144 deletions(-)
diff --git a/src/placement.c b/src/placement.c
-index e9a32c72..a6ce2636 100644
+index 9090a3f2..0d94313a 100644
--- a/src/placement.c
+++ b/src/placement.c
-@@ -543,16 +543,139 @@ clientAutoMaximize (Client * c, int full_w, int full_h)
+@@ -542,17 +542,140 @@ clientAutoMaximize (Client * c, int full_w, int full_h)
+ }
}
- static void
++static void
+expand_horizontal (cairo_region_t *region,
+ cairo_rectangle_int_t *rect,
+ gint full_x,
@@ -149,7 +150,7 @@ index e9a32c72..a6ce2636 100644
+ }
+}
+
-+static void
+ static void
smartPlacement (Client * c, int full_x, int full_y, int full_w, int full_h)
{
- Client *c2;
@@ -474,5 +475,5 @@ index e9a32c72..a6ce2636 100644
static void
--
-2.12.0
+2.15.1