diff options
author | emersion <contact@emersion.fr> | 2018-05-27 13:13:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-27 13:13:11 +0100 |
commit | e4c54b04ce90d2d051ba7343ec5b9dce1bbb6755 (patch) | |
tree | f96102bdb4bbc030a9e7033b13178acf74413bea /include/sway | |
parent | 0c4b7907a01890730ad35a963da511d1008d9533 (diff) | |
parent | d3dd7e5bae374cb890f80836d872229a37ef639f (diff) |
Merge pull request #2049 from RyanDwyer/criteria-shell
Add shell criteria token
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/criteria.h | 1 | ||||
-rw-r--r-- | include/sway/tree/view.h | 2 |
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 { char *target; // workspace or output name for `assign` criteria pcre *title; + pcre *shell; pcre *app_id; pcre *class; 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); uint32_t view_get_window_type(struct sway_view *view); -const char *view_get_type(struct sway_view *view); +const char *view_get_shell(struct sway_view *view); void view_configure(struct sway_view *view, double ox, double oy, int width, int height); |