fix skipfocus patch Rule order

This commit is contained in:
Dhruva Sambrani 2024-01-06 15:48:17 +01:00
parent 2e5f249820
commit a367d4315e
2 changed files with 5 additions and 4 deletions

View File

@ -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))) {

1
skipfocus/skipfocus.patch Symbolic link
View File

@ -0,0 +1 @@
./20240106.patch