projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56713e4
)
use the top when snapping to the top
author
Dana Jansens
<danakj@orodu.net>
Sat, 29 Mar 2003 19:47:36 +0000
(19:47 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 29 Mar 2003 19:47:36 +0000
(19:47 +0000)
plugins/resistance.c
patch
|
blob
|
history
diff --git
a/plugins/resistance.c
b/plugins/resistance.c
index
5c4d817
..
30741d8
100644
(file)
--- a/
plugins/resistance.c
+++ b/
plugins/resistance.c
@@
-253,7
+253,7
@@
static void resist_size(Client *c, int *w, int *h, Corner corn)
dlt = lt - *h + c->frame->area.height;
drb = rb;
if (lt >= at && dlt < at && dlt >= at - resist.integer)
- *h = rb - a
l
+ 1;
+ *h = rb - a
t
+ 1;
break;
}