summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-05-27 13:13:11 +0100
committerLibravatar GitHub <noreply@github.com>2018-05-27 13:13:11 +0100
commite4c54b04ce90d2d051ba7343ec5b9dce1bbb6755 (patch)
treef96102bdb4bbc030a9e7033b13178acf74413bea /include
parentMerge pull request #2048 from RyanDwyer/title-format-app-id (diff)
parentRename view_get_type to view_get_shell (diff)
downloadsway-e4c54b04ce90d2d051ba7343ec5b9dce1bbb6755.tar.gz
sway-e4c54b04ce90d2d051ba7343ec5b9dce1bbb6755.tar.zst
sway-e4c54b04ce90d2d051ba7343ec5b9dce1bbb6755.zip
Merge pull request #2049 from RyanDwyer/criteria-shell
Add shell criteria token
Diffstat (limited to 'include')
-rw-r--r--include/sway/criteria.h1
-rw-r--r--include/sway/tree/view.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/sway/criteria.h b/include/sway/criteria.h
index 74da132c..bd3ca0ac 100644
--- a/include/sway/criteria.h
+++ b/include/sway/criteria.h
@@ -18,6 +18,7 @@ struct criteria {
18 char *target; // workspace or output name for `assign` criteria 18 char *target; // workspace or output name for `assign` criteria
19 19
20 pcre *title; 20 pcre *title;
21 pcre *shell;
21 pcre *app_id; 22 pcre *app_id;
22 pcre *class; 23 pcre *class;
23 pcre *instance; 24 pcre *instance;
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 0fb8f1b3..a8bf4955 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -201,7 +201,7 @@ const char *view_get_window_role(struct sway_view *view);
201 201
202uint32_t view_get_window_type(struct sway_view *view); 202uint32_t view_get_window_type(struct sway_view *view);
203 203
204const char *view_get_type(struct sway_view *view); 204const char *view_get_shell(struct sway_view *view);
205 205
206void view_configure(struct sway_view *view, double ox, double oy, int width, 206void view_configure(struct sway_view *view, double ox, double oy, int width,
207 int height); 207 int height);