aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrestis Floros <orestisflo@gmail.com>2023-09-03 19:32:42 +0200
committerGitHub <noreply@github.com>2023-09-03 19:32:42 +0200
commitc6f62f4695ae66cf0fea498c7ac4ab21ba68faae (patch)
tree84aef7e9fc51ee78cc449230415a074b2f63b260
parentd6e2a38b5cdf200c0fb82fc4cf7fff7dbcdeb605 (diff)
downloadi3-c6f62f4695ae66cf0fea498c7ac4ab21ba68faae.tar.gz
i3-c6f62f4695ae66cf0fea498c7ac4ab21ba68faae.zip
Fix crashes when using machine criterion (#5650)
Fixes #5616
-rw-r--r--release-notes/bugfixes/4-machine-crash1
-rw-r--r--src/match.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/release-notes/bugfixes/4-machine-crash b/release-notes/bugfixes/4-machine-crash
new file mode 100644
index 00000000..24dc04ee
--- /dev/null
+++ b/release-notes/bugfixes/4-machine-crash
@@ -0,0 +1 @@
+fix crashes when using machine criterion
diff --git a/src/match.c b/src/match.c
index 34314e25..cfd7d324 100644
--- a/src/match.c
+++ b/src/match.c
@@ -80,6 +80,7 @@ void match_copy(Match *dest, Match *src) {
DUPLICATE_REGEX(instance);
DUPLICATE_REGEX(window_role);
DUPLICATE_REGEX(workspace);
+ DUPLICATE_REGEX(machine);
}
/*