From 3fab044f347fbfdad27492802fe3e3628ff915da Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Sat, 10 May 2003 14:50:39 +0000 Subject: [PATCH] whitespace --- openbox/event.c | 2 +- openbox/menu_render.c | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/openbox/event.c b/openbox/event.c index 5dd1f705..c30d52e5 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -114,7 +114,7 @@ void event_loop() XNextEvent(ob_display, &e); event_process(&e); - had_event = TRUE; + had_event = TRUE; } if (!had_event) { diff --git a/openbox/menu_render.c b/openbox/menu_render.c index 6a95fcbb..4df4e413 100644 --- a/openbox/menu_render.c +++ b/openbox/menu_render.c @@ -62,7 +62,8 @@ void menu_render_full(Menu *self) { items_h = self->item_h * MAX(nitems, 1); if (self->label) { - RECT_SET(self->a_title->area, 0, 0, self->size.width, self->title_h); + RECT_SET(self->a_title->area, 0, 0, self->size.width, + self->title_h); RECT_SET(self->a_title->texture[0].position, 0, 0, self->size.width, self->title_h); } @@ -74,8 +75,10 @@ void menu_render_full(Menu *self) { if (self->label) XMoveResizeWindow(ob_display, self->title, -theme_bwidth, -theme_bwidth, self->size.width, self->title_h); - XMoveResizeWindow(ob_display, self->items, 0, self->title_h + theme_bwidth, - self->size.width, items_h); + + XMoveResizeWindow(ob_display, self->items, 0, + self->title_h + theme_bwidth, self->size.width, + items_h); if (self->label) paint(self->title, self->a_title); -- 2.45.2