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,