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:
a116f2c
)
use the bottom of the screen for botom snapping! :)
author
Dana Jansens
<danakj@orodu.net>
Sat, 29 Mar 2003 09:56:12 +0000
(09:56 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 29 Mar 2003 09:56:12 +0000
(09:56 +0000)
plugins/resistance.c
patch
|
blob
|
history
diff --git
a/plugins/resistance.c
b/plugins/resistance.c
index a92047af0da1dbbafe1f77fef31ec56522a690b0..5c4d817406aa6d4b8d0d5575422aee29604f1dd2 100644
(file)
--- a/
plugins/resistance.c
+++ b/
plugins/resistance.c
@@
-244,8
+244,9
@@
static void resist_size(Client *c, int *w, int *h, Corner corn)
case Corner_TopRight:
dlt = lt;
drb = rb + *h - c->frame->area.height;
+ g_message("dlt %d drb %d rb %d ab %d", dlt, drb, rb, ab);
if (rb <= ab && drb > ab && drb <= ab + resist.integer)
- *h = a
r
- lt + 1;
+ *h = a
b
- lt + 1;
break;
case Corner_BottomLeft:
case Corner_BottomRight: