mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-26 09:44:21 +00:00
Update patches/gridall/winview+gaplessgrid+gridall.diff
Fix minor trailing whitespace issue at multiple lines.
This commit is contained in:
parent
f8e4399bba
commit
f82f83cd57
@ -83,7 +83,7 @@ diff -up ../../dwl_my_contribution/dwl/dwl.c ./dwl.c
|
|||||||
+ cols = 3;
|
+ cols = 3;
|
||||||
+
|
+
|
||||||
+ rows = n / cols;
|
+ rows = n / cols;
|
||||||
+
|
+
|
||||||
+ /* window geometries */
|
+ /* window geometries */
|
||||||
+ cw = cols ? m->w.width / cols : m->w.width;
|
+ cw = cols ? m->w.width / cols : m->w.width;
|
||||||
+ cn = 0; /* current column number */
|
+ 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
|
+ /* hide the statusbar when activating the gridall
|
||||||
+ const char *dwlb_hide_cmd[] = { "dwlb", "-hide", "eDP-1", NULL };
|
+ const char *dwlb_hide_cmd[] = { "dwlb", "-hide", "eDP-1", NULL };
|
||||||
+ if (fork() == 0) {
|
+ if (fork() == 0) {
|
||||||
+ setsid();
|
+ setsid();
|
||||||
+ execvp(dwlb_hide_cmd[0], (char *const *)dwlb_hide_cmd);
|
+ execvp(dwlb_hide_cmd[0], (char *const *)dwlb_hide_cmd);
|
||||||
+ perror("execvp");
|
+ perror("execvp");
|
||||||
+ _exit(1);
|
+ _exit(1);
|
||||||
+ } */
|
+ } */
|
||||||
+ setlayout(&(const Arg){.v = &layouts[3]});
|
+ 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]});
|
+ setlayout(&(const Arg){.v = &layouts[0]});
|
||||||
+ /* show the statusbar again after choosing the client window to focus
|
+ /* show the statusbar again after choosing the client window to focus
|
||||||
+ if (fork() == 0) {
|
+ if (fork() == 0) {
|
||||||
+ setsid();
|
+ setsid();
|
||||||
+ execvp(dwlb_show_cmd[0], (char *const *)dwlb_show_cmd);
|
+ execvp(dwlb_show_cmd[0], (char *const *)dwlb_show_cmd);
|
||||||
+ perror("execvp");
|
+ perror("execvp");
|
||||||
+ _exit(1);
|
+ _exit(1);
|
||||||
+ } */
|
+ } */
|
||||||
+ }
|
+ }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user