initial commit

This commit is contained in:
2023-09-18 23:34:29 +02:00
commit faedc5a5ea
292 changed files with 26289 additions and 0 deletions

18
patch/togglefullscreen.c Normal file
View File

@@ -0,0 +1,18 @@
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
}