summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-31 05:38:19 +0000
committerDana Jansens <danakj@orodu.net>2003-03-31 05:38:19 +0000
commita8afa4d073037565d6d07b08e1ee4883fd9ec59d (patch)
tree85effa9ce89c58ba7465ff8390194bbaf4732b2e /plugins
parentfeb6bc632f4eebf2edb9590a17c77523507e228f (diff)
extraneous ! causing resistance to be snapping in one case. rm a debug print
Diffstat (limited to 'plugins')
-rw-r--r--plugins/resistance.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/resistance.c b/plugins/resistance.c
index 30741d80..56ad9d91 100644
--- a/plugins/resistance.c
+++ b/plugins/resistance.c
@@ -93,7 +93,7 @@ static void resist_move(Client *c, int *x, int *y)
if (snapy == NULL) {
if (ct >= tb && t < tb && t >= tb - resist.integer)
*y = tb, snapy = target;
- else if (!cb <= tt && b > tt && b <= tt + resist.integer)
+ else if (cb <= tt && b > tt && b <= tt + resist.integer)
*y = tt - h + 1, snapy = target;
if (snapy != NULL) {
/* try to corner snap to the window */
@@ -244,7 +244,6 @@ 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 = ab - lt + 1;
break;