From a367d4315e5f6373b6d5dae3f6f7d6275b9dbf02 Mon Sep 17 00:00:00 2001 From: Dhruva Sambrani <44899822+DhruvaSambrani@users.noreply.github.com> Date: Sat, 6 Jan 2024 15:48:17 +0100 Subject: [PATCH] fix skipfocus patch Rule order --- skipfocus/20240106.patch | 8 ++++---- skipfocus/skipfocus.patch | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) create mode 120000 skipfocus/skipfocus.patch diff --git a/skipfocus/20240106.patch b/skipfocus/20240106.patch index 968acd0..e57ba27 100644 --- a/skipfocus/20240106.patch +++ b/skipfocus/20240106.patch @@ -18,7 +18,7 @@ index a8ed61d..fc105de 100644 /* layout(s) */ diff --git a/dwl.c b/dwl.c -index 4d19357..593d25f 100644 +index 4d19357..3826f65 100644 --- a/dwl.c +++ b/dwl.c @@ -132,7 +132,7 @@ typedef struct { @@ -30,14 +30,14 @@ index 4d19357..593d25f 100644 uint32_t resize; /* configure serial of a pending resize */ } Client; -@@ -218,6 +218,7 @@ typedef struct { +@@ -217,6 +217,7 @@ typedef struct { + const char *title; uint32_t tags; int isfloating; - int monitor; + int skipfocus; + int monitor; } Rule; - typedef struct { @@ -440,6 +441,7 @@ applyrules(Client *c) if ((!r->title || strstr(title, r->title)) && (!r->id || strstr(appid, r->id))) { diff --git a/skipfocus/skipfocus.patch b/skipfocus/skipfocus.patch new file mode 120000 index 0000000..92b4d31 --- /dev/null +++ b/skipfocus/skipfocus.patch @@ -0,0 +1 @@ +./20240106.patch \ No newline at end of file