summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-03-12 22:33:49 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-03-12 20:52:09 -0600
commit52a61671e93953a06b6b440ede5512e8fe45b35e (patch)
tree6c00f5c8213c00729b8b90ac5488a6e08b58c394 /include
parentHandle seat_get_focused_workspace returning NULL (diff)
downloadsway-52a61671e93953a06b6b440ede5512e8fe45b35e.tar.gz
sway-52a61671e93953a06b6b440ede5512e8fe45b35e.tar.zst
sway-52a61671e93953a06b6b440ede5512e8fe45b35e.zip
criteria: change workspace to support regex
This changes the workspace criteria to support regex instead of basic strings. This matches i3's behavior.
Diffstat (limited to 'include')
-rw-r--r--include/sway/criteria.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/criteria.h b/include/sway/criteria.h
index 3eb583d5..f7e788c8 100644
--- a/include/sway/criteria.h
+++ b/include/sway/criteria.h
@@ -35,7 +35,7 @@ struct criteria {
35 bool floating; 35 bool floating;
36 bool tiling; 36 bool tiling;
37 char urgent; // 'l' for latest or 'o' for oldest 37 char urgent; // 'l' for latest or 'o' for oldest
38 char *workspace; 38 pcre *workspace;
39}; 39};
40 40
41bool criteria_is_empty(struct criteria *criteria); 41bool criteria_is_empty(struct criteria *criteria);