dwm/customfuncs.c

12 lines
180 B
C
Raw Normal View History

2019-02-14 13:06:27 +01:00
void togglefullscreen() {
if (selmon->sel == 0) {
return;
}
2019-02-14 13:06:27 +01:00
if (selmon->sel->isfullscreen) {
setfullscreen(selmon->sel, 0);
} else {
setfullscreen(selmon->sel, 1);
}
}