aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorRyan Dwyer <RyanDwyer@users.noreply.github.com>2018-05-28 00:14:22 +1000
committerGitHub <noreply@github.com>2018-05-28 00:14:22 +1000
commit8fda41dab52656c7c4a0db9a835ae57cea994538 (patch)
tree2b0c481616cd738e0f6ca92be9594eec7707799b /include/sway
parent569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9 (diff)
parentde32b6d52ef8cf7d477fba23f42ca054155add56 (diff)
downloadsway-8fda41dab52656c7c4a0db9a835ae57cea994538.tar.xz
Merge branch 'master' into cmd-swap
Diffstat (limited to 'include/sway')
-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 {
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);