diff --git a/patches/gridall/winview+gaplessgrid+gridall.diff b/patches/gridall/winview+gaplessgrid+gridall.diff index 6a376cc..f5f3209 100644 --- a/patches/gridall/winview+gaplessgrid+gridall.diff +++ b/patches/gridall/winview+gaplessgrid+gridall.diff @@ -83,7 +83,7 @@ diff -up ../../dwl_my_contribution/dwl/dwl.c ./dwl.c + cols = 3; + + rows = n / cols; -+ ++ + /* window geometries */ + cw = cols ? m->w.width / cols : m->w.width; + cn = 0; /* current column number */ @@ -134,9 +134,9 @@ diff -up ../../dwl_my_contribution/dwl/dwl.c ./dwl.c + /* hide the statusbar when activating the gridall + const char *dwlb_hide_cmd[] = { "dwlb", "-hide", "eDP-1", NULL }; + if (fork() == 0) { -+ setsid(); ++ setsid(); + execvp(dwlb_hide_cmd[0], (char *const *)dwlb_hide_cmd); -+ perror("execvp"); ++ perror("execvp"); + _exit(1); + } */ + setlayout(&(const Arg){.v = &layouts[3]}); @@ -147,9 +147,9 @@ diff -up ../../dwl_my_contribution/dwl/dwl.c ./dwl.c + setlayout(&(const Arg){.v = &layouts[0]}); + /* show the statusbar again after choosing the client window to focus + if (fork() == 0) { -+ setsid(); ++ setsid(); + execvp(dwlb_show_cmd[0], (char *const *)dwlb_show_cmd); -+ perror("execvp"); ++ perror("execvp"); + _exit(1); + } */ + }