This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dwm
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
using BarTop as fallback if BARPOS is set to BarOff as default for toggling
master
Anselm R. Garbe
18 years ago
parent
b896b58d6d
commit
5ad2828c57
1 changed files
with
6 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
layout.c
+ 6
- 1
layout.c
View File
@ -218,7 +218,12 @@ setlayout(const char *arg) {
void
togglebar
(
const
char
*
arg
)
{
bpos
=
(
bpos
=
=
BarOff
)
?
BARPOS
:
BarOff
;
if
(
bpos
=
=
BarOff
)
{
if
(
(
bpos
=
BARPOS
)
=
=
BarOff
)
bpos
=
BarTop
;
}
else
bpos
=
BarOff
;
updatebarpos
(
)
;
lt
-
>
arrange
(
)
;
}
Write
Preview
Loading…
Cancel
Save