From db65104aa27c1d7e627d245b28428d42d3506864 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 11 Nov 2007 21:20:02 +0100 Subject: [PATCH] use M_PI_2 --- statusbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/statusbar.c b/statusbar.c index 1c1a50dae..9ab1f909f 100644 --- a/statusbar.c +++ b/statusbar.c @@ -164,12 +164,12 @@ drawstatusbar(awesome_config *awesomeconf) if(awesomeconf->statusbar.position == BarRight) draw_rotate(awesomeconf->display, awesomeconf->phys_screen, awesomeconf->statusbar.drawable, awesomeconf->statusbar.width, - awesomeconf->statusbar.height, M_PI * 0.5, + awesomeconf->statusbar.height, M_PI_2, awesomeconf->statusbar.height, 0); else draw_rotate(awesomeconf->display, awesomeconf->phys_screen, awesomeconf->statusbar.drawable, awesomeconf->statusbar.width, - awesomeconf->statusbar.height, M_PI * 0.5, + awesomeconf->statusbar.height, - M_PI_2, 0, -awesomeconf->statusbar.height); XCopyArea(awesomeconf->display, awesomeconf->statusbar.drawable, awesomeconf->statusbar.window,