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);