mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
13 lines
328 B
C
13 lines
328 B
C
Layout *last_layout = &layouts[0];
|
|
|
|
void
|
|
fullscreen(const Arg *arg)
|
|
{
|
|
if (selmon->showbar) {
|
|
for (last_layout = (Layout *)layouts; last_layout != selmon->lt[selmon->sellt]; last_layout++);
|
|
setlayout(&((Arg) { .v = &layouts[MONOCLE_LAYOUT_POS] }));
|
|
} else {
|
|
setlayout(&((Arg) { .v = last_layout }));
|
|
}
|
|
togglebar(arg);
|
|
} |