removed useless abs() calls

master
arg@mig29 2006-10-30 12:04:08 +01:00
parent b6614261ea
commit dc1690ce0f
1 changed files with 2 additions and 2 deletions

View File

@ -52,9 +52,9 @@ movemouse(Client *c) {
c->x = sx; c->x = sx;
if(abs(c->y) < sy + bh + SNAP) if(abs(c->y) < sy + bh + SNAP)
c->y = sy + bh; c->y = sy + bh;
if(abs(c->x + c->w) > sx + sw - SNAP) if(c->x + c->w > sx + sw - SNAP)
c->x = sw - c->w - 2 * BORDERPX; c->x = sw - c->w - 2 * BORDERPX;
if(abs(c->y + c->h) > sy + sh - SNAP) if(c->y + c->h > sy + sh - SNAP)
c->y = sh - c->h - 2 * BORDERPX; c->y = sh - c->h - 2 * BORDERPX;
resize(c, False, TopLeft); resize(c, False, TopLeft);
break; break;