From 158b91adaf9915ab856eaaa43bab68c172b5bb3f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 8 Oct 2007 13:07:01 +0200 Subject: [PATCH] bugfix: reset correctly default bar position on toggle Thanks Daniel Brinkers --- statusbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusbar.c b/statusbar.c index 537ea9a37..60e5968f2 100644 --- a/statusbar.c +++ b/statusbar.c @@ -166,7 +166,7 @@ uicb_togglebar(Display *disp, const char *arg __attribute__ ((unused))) { if(awesomeconf->statusbar.position == BarOff) - awesomeconf->statusbar.position = (awesomeconf->statusbar.position == BarOff) ? BarTop : awesomeconf->statusbar_default_position; + awesomeconf->statusbar.position = (awesomeconf->statusbar_default_position == BarOff) ? BarTop : awesomeconf->statusbar_default_position; else awesomeconf->statusbar.position = BarOff; updatebarpos(disp, awesomeconf->statusbar);