diff --git a/patches/autostart/autostart.patch b/patches/autostart/autostart.patch index e16b294..1a8cb7f 100644 --- a/patches/autostart/autostart.patch +++ b/patches/autostart/autostart.patch @@ -1,4 +1,4 @@ -From 51d56a433f23e13ac711b283a03c7903068febf6 Mon Sep 17 00:00:00 2001 +From 06bf85899ac55cdb744e8be0028e01519aff927a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Sat, 8 Jul 2023 17:11:36 -0600 @@ -15,10 +15,10 @@ Signed-off-by: Leonardo Hernández Hernández 2 files changed, 61 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h -index a8ed61d..3585711 100644 +index 8847e58f..1ca74a3b 100644 --- a/config.def.h +++ b/config.def.h -@@ -20,6 +20,13 @@ static const float fullscreen_bg[] = {0.1, 0.1, 0.1, 1.0}; /* You can al +@@ -20,6 +20,13 @@ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You ca /* logging */ static int log_level = WLR_ERROR; @@ -30,13 +30,13 @@ index a8ed61d..3585711 100644 + + static const Rule rules[] = { - /* app_id title tags mask isfloating monitor */ - /* examples: + /* app_id title tags mask isfloating monitor */ + /* examples: */ diff --git a/dwl.c b/dwl.c -index 10d5a5b..bbbef2b 100644 +index 39ce68c0..532ae1ce 100644 --- a/dwl.c +++ b/dwl.c -@@ -236,6 +236,7 @@ static void arrange(Monitor *m); +@@ -246,6 +246,7 @@ static void arrange(Monitor *m); static void arrangelayer(Monitor *m, struct wl_list *list, struct wlr_box *usable_area, int exclusive); static void arrangelayers(Monitor *m); @@ -44,7 +44,7 @@ index 10d5a5b..bbbef2b 100644 static void axisnotify(struct wl_listener *listener, void *data); static void buttonpress(struct wl_listener *listener, void *data); static void chvt(const Arg *arg); -@@ -403,6 +404,9 @@ static xcb_atom_t netatom[NetLast]; +@@ -424,6 +425,9 @@ static xcb_atom_t netatom[NetLast]; /* attempt to encapsulate suck into one file */ #include "client.h" @@ -54,7 +54,7 @@ index 10d5a5b..bbbef2b 100644 /* function implementations */ void applybounds(Client *c, struct wlr_box *bbox) -@@ -533,6 +537,27 @@ arrangelayers(Monitor *m) +@@ -558,6 +562,27 @@ arrangelayers(Monitor *m) } } @@ -82,7 +82,7 @@ index 10d5a5b..bbbef2b 100644 void axisnotify(struct wl_listener *listener, void *data) { -@@ -630,11 +655,21 @@ checkidleinhibitor(struct wlr_surface *exclude) +@@ -655,11 +680,21 @@ checkidleinhibitor(struct wlr_surface *exclude) void cleanup(void) { @@ -104,7 +104,7 @@ index 10d5a5b..bbbef2b 100644 if (child_pid > 0) { kill(child_pid, SIGTERM); waitpid(child_pid, NULL, 0); -@@ -1294,18 +1329,31 @@ void +@@ -1371,18 +1406,31 @@ void handlesig(int signo) { if (signo == SIGCHLD) { @@ -141,7 +141,7 @@ index 10d5a5b..bbbef2b 100644 } else if (signo == SIGINT || signo == SIGTERM) { quit(NULL); } -@@ -1965,6 +2013,7 @@ run(char *startup_cmd) +@@ -2073,6 +2121,7 @@ run(char *startup_cmd) die("startup: backend_start"); /* Now that the socket exists and the backend is started, run the startup command */ @@ -150,5 +150,5 @@ index 10d5a5b..bbbef2b 100644 int piperw[2]; if (pipe(piperw) < 0) -- -2.43.0 +2.44.0