Update patches/gridall/winview+gaplessgrid+gridall.diff

Fix minor trailing whitespace issue at multiple lines.
This commit is contained in:
fauxmight 2025-10-19 08:27:47 +02:00 committed by Kana
parent f8e4399bba
commit f82f83cd57

View File

@ -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);
+ } */
+ }