summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-27 16:35:44 +0000
committerDana Jansens <danakj@orodu.net>2007-05-27 16:35:44 +0000
commit914d18f364e3e80dde9687f902a706a64363bc28 (patch)
treeb5a4938bea58b87a4782ae2a235f47b547f0892a
parent01a7a9edb7617f3e0ae09a84207faa0dcdf71306 (diff)
fix formatting
-rw-r--r--openbox/frame.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index b6b6ac93..b0f789aa 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -1343,7 +1343,8 @@ void frame_client_gravity(ObFrame *self, gint *x, gint *y, gint w, gint h)
case SouthEastGravity:
case EastGravity:
/* the right side of the client will be the right side of the frame */
- *x -= self->size.right + self->size.left - self->client->border_width*2;
+ *x -= self->size.right + self->size.left -
+ self->client->border_width * 2;
break;
case ForgetGravity:
@@ -1372,7 +1373,8 @@ void frame_client_gravity(ObFrame *self, gint *x, gint *y, gint w, gint h)
case SouthEastGravity:
case SouthGravity:
/* the bottom of the client will be the bottom of the frame */
- *y -= self->size.bottom + self->size.top - self->client->border_width*2;
+ *y -= self->size.bottom + self->size.top -
+ self->client->border_width * 2;
break;
case ForgetGravity:
@@ -1402,7 +1404,8 @@ void frame_frame_gravity(ObFrame *self, gint *x, gint *y, gint w, gint h)
case EastGravity:
case SouthEastGravity:
/* the right side of the client will be the right side of the frame */
- *x += self->size.right + self->size.left - self->client->border_width*2;
+ *x += self->size.right + self->size.left -
+ self->client->border_width * 2;
break;
case StaticGravity:
case ForgetGravity:
@@ -1428,7 +1431,8 @@ void frame_frame_gravity(ObFrame *self, gint *x, gint *y, gint w, gint h)
case SouthGravity:
case SouthEastGravity:
/* the bottom of the client will be the bottom of the frame */
- *y += self->size.bottom + self->size.top - self->client->border_width*2;
+ *y += self->size.bottom + self->size.top -
+ self->client->border_width * 2;
break;
case StaticGravity:
case ForgetGravity: