My dwm config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
389 B

void
togglefullscreen(const Arg *arg)
{
Client *c = selmon->sel;
if (!c)
return;
#if FAKEFULLSCREEN_CLIENT_PATCH && !FAKEFULLSCREEN_PATCH
if (c->fakefullscreen == 1) { // fake fullscreen --> fullscreen
c->fakefullscreen = 2;
setfullscreen(c, 1);
} else
setfullscreen(c, !c->isfullscreen);
#else
setfullscreen(c, !c->isfullscreen);
#endif // FAKEFULLSCREEN_CLIENT_PATCH
}