12 lines
180 B
C
12 lines
180 B
C
void togglefullscreen() {
|
|
if (selmon->sel == 0) {
|
|
return;
|
|
}
|
|
|
|
if (selmon->sel->isfullscreen) {
|
|
setfullscreen(selmon->sel, 0);
|
|
} else {
|
|
setfullscreen(selmon->sel, 1);
|
|
}
|
|
}
|