mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-29 19:14:20 +00:00
fix skipfocus patch Rule order
This commit is contained in:
parent
2e5f249820
commit
a367d4315e
@ -18,7 +18,7 @@ index a8ed61d..fc105de 100644
|
|||||||
|
|
||||||
/* layout(s) */
|
/* layout(s) */
|
||||||
diff --git a/dwl.c b/dwl.c
|
diff --git a/dwl.c b/dwl.c
|
||||||
index 4d19357..593d25f 100644
|
index 4d19357..3826f65 100644
|
||||||
--- a/dwl.c
|
--- a/dwl.c
|
||||||
+++ b/dwl.c
|
+++ b/dwl.c
|
||||||
@@ -132,7 +132,7 @@ typedef struct {
|
@@ -132,7 +132,7 @@ typedef struct {
|
||||||
@ -30,14 +30,14 @@ index 4d19357..593d25f 100644
|
|||||||
uint32_t resize; /* configure serial of a pending resize */
|
uint32_t resize; /* configure serial of a pending resize */
|
||||||
} Client;
|
} Client;
|
||||||
|
|
||||||
@@ -218,6 +218,7 @@ typedef struct {
|
@@ -217,6 +217,7 @@ typedef struct {
|
||||||
|
const char *title;
|
||||||
uint32_t tags;
|
uint32_t tags;
|
||||||
int isfloating;
|
int isfloating;
|
||||||
int monitor;
|
|
||||||
+ int skipfocus;
|
+ int skipfocus;
|
||||||
|
int monitor;
|
||||||
} Rule;
|
} Rule;
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
@@ -440,6 +441,7 @@ applyrules(Client *c)
|
@@ -440,6 +441,7 @@ applyrules(Client *c)
|
||||||
if ((!r->title || strstr(title, r->title))
|
if ((!r->title || strstr(title, r->title))
|
||||||
&& (!r->id || strstr(appid, r->id))) {
|
&& (!r->id || strstr(appid, r->id))) {
|
||||||
|
|||||||
1
skipfocus/skipfocus.patch
Symbolic link
1
skipfocus/skipfocus.patch
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
./20240106.patch
|
||||||
Loading…
x
Reference in New Issue
Block a user