update autostart patch

51d56a4

no one noticed, right?
This commit is contained in:
Leonardo Hernández Hernández 2023-12-29 02:23:18 +00:00
parent cca216249a
commit 60466305f9
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

View File

@ -1,4 +1,4 @@
From c2e65831770a54eebe6eef6e36bfa4716c7e1ada Mon Sep 17 00:00:00 2001
From 51d56a433f23e13ac711b283a03c7903068febf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?=
<leohdz172@proton.me>
Date: Sat, 8 Jul 2023 17:11:36 -0600
@ -33,7 +33,7 @@ index a8ed61d..3585711 100644
/* app_id title tags mask isfloating monitor */
/* examples:
diff --git a/dwl.c b/dwl.c
index edf0cf1..4b7adc8 100644
index 10d5a5b..bbbef2b 100644
--- a/dwl.c
+++ b/dwl.c
@@ -236,6 +236,7 @@ static void arrange(Monitor *m);
@ -104,7 +104,7 @@ index edf0cf1..4b7adc8 100644
if (child_pid > 0) {
kill(child_pid, SIGTERM);
waitpid(child_pid, NULL, 0);
@@ -1295,18 +1330,31 @@ void
@@ -1294,18 +1329,31 @@ void
handlesig(int signo)
{
if (signo == SIGCHLD) {
@ -141,7 +141,7 @@ index edf0cf1..4b7adc8 100644
} else if (signo == SIGINT || signo == SIGTERM) {
quit(NULL);
}
@@ -1966,6 +2014,7 @@ run(char *startup_cmd)
@@ -1965,6 +2013,7 @@ run(char *startup_cmd)
die("startup: backend_start");
/* Now that the socket exists and the backend is started, run the startup command */