aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/awesome/files/patch-statusbar.c
blob: 055d6d637bfe65ce4cc404cf40717f34399eca16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- statusbar.c
+++ 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);