aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/awesome/Makefile1
-rw-r--r--x11-wm/awesome/files/patch-lib__awful__placement.lua.in19
2 files changed, 20 insertions, 0 deletions
diff --git a/x11-wm/awesome/Makefile b/x11-wm/awesome/Makefile
index 618a78bb20ec..0007f79d40e5 100644
--- a/x11-wm/awesome/Makefile
+++ b/x11-wm/awesome/Makefile
@@ -7,6 +7,7 @@
PORTNAME= awesome
PORTVERSION= 3.4.7
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://awesome.naquadah.org/download/ \
http://redundancy.redundancy.org/mirror/
diff --git a/x11-wm/awesome/files/patch-lib__awful__placement.lua.in b/x11-wm/awesome/files/patch-lib__awful__placement.lua.in
new file mode 100644
index 000000000000..fad502200ec0
--- /dev/null
+++ b/x11-wm/awesome/files/patch-lib__awful__placement.lua.in
@@ -0,0 +1,19 @@
+diff --git a/lib/awful/placement.lua.in b/lib/awful/placement.lua.in
+--- lib/awful/placement.lua.in
++++ lib/awful/placement.lua.in
+@@ -109,13 +109,13 @@ function no_offscreen(c)
+ local screen_geometry = capi.screen[c.screen].workarea
+
+ if geometry.x + geometry.width + 2*border > screen_geometry.x + screen_geometry.width then
+- geometry.x = screen_geometry.x + screen_geometry.width - geometry.width - 2*border
++ geometry.x = screen_geometry.x + screen_geometry.width - geometry.width
+ elseif geometry.x < screen_geometry.x then
+ geometry.x = screen_geometry.x
+ end
+
+ if geometry.y + geometry.height + border > screen_geometry.y + screen_geometry.height then
+- geometry.y = screen_geometry.y + screen_geometry.height - geometry.height - 2*border
++ geometry.y = screen_geometry.y + screen_geometry.height - geometry.height
+ elseif geometry.y < screen_geometry.y then
+ geometry.y = screen_geometry.y
+ end