Don't move clients with fixed positions
(upstream git commit 45576b6c6f8255e979187b034a73385d508c9223) Add a comment about why I chose to not install auto-generated non-English manpages (thanks schwarze@)
This commit is contained in:
parent
0eb3492022
commit
9b6ec49d97
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.37 2011/06/22 12:54:03 dcoppa Exp $
|
||||
# $OpenBSD: Makefile,v 1.38 2011/07/06 09:58:15 dcoppa Exp $
|
||||
|
||||
COMMENT= fast, small, dynamic and awesome window manager
|
||||
|
||||
DISTNAME= awesome-3.4.10
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
CATEGORIES= x11
|
||||
|
||||
|
@ -1,4 +1,9 @@
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.9 2011/05/17 14:03:30 dcoppa Exp $
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.10 2011/07/06 09:58:16 dcoppa Exp $
|
||||
|
||||
These auto-generated manpages (db2man.xsl) contain a mixture of ISO
|
||||
latin-1 characters and numerical HTML entities that neither mandoc
|
||||
nor groff can fully understand: do not install them.
|
||||
|
||||
--- CMakeLists.txt.orig Mon May 16 16:35:17 2011
|
||||
+++ CMakeLists.txt Tue May 17 14:22:25 2011
|
||||
@@ -88,7 +88,6 @@ set(AWE_MAN_SRCS
|
||||
|
26
x11/awesome/patches/patch-lib_awful_mouse_init_lua_in
Normal file
26
x11/awesome/patches/patch-lib_awful_mouse_init_lua_in
Normal file
@ -0,0 +1,26 @@
|
||||
$OpenBSD: patch-lib_awful_mouse_init_lua_in,v 1.1 2011/07/06 09:58:16 dcoppa Exp $
|
||||
|
||||
Don't move clients with fixed positions
|
||||
(upstream git commit 45576b6c6f8255e979187b034a73385d508c9223)
|
||||
|
||||
--- lib/awful/mouse/init.lua.in.orig Mon May 16 16:35:17 2011
|
||||
+++ lib/awful/mouse/init.lua.in Wed Jul 6 11:07:09 2011
|
||||
@@ -147,14 +147,14 @@ function client.snap(c, snap, x, y, fixed_x, fixed_y)
|
||||
end
|
||||
end
|
||||
|
||||
- -- It's easiest to undo changes afterwards if they're not allowed
|
||||
- if fixed_x then geom.x = cur_geom.x end
|
||||
- if fixed_y then geom.y = cur_geom.y end
|
||||
-
|
||||
geom.width = geom.width - (2 * c.border_width)
|
||||
geom.height = geom.height - (2 * c.border_width)
|
||||
geom.x = geom.x + (2 * c.border_width)
|
||||
geom.y = geom.y + (2 * c.border_width)
|
||||
+
|
||||
+ -- It's easiest to undo changes afterwards if they're not allowed
|
||||
+ if fixed_x then geom.x = cur_geom.x end
|
||||
+ if fixed_y then geom.y = cur_geom.y end
|
||||
|
||||
return geom
|
||||
end
|
Loading…
Reference in New Issue
Block a user