diff options
Diffstat (limited to 'include/sway/criteria.h')
-rw-r--r-- | include/sway/criteria.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sway/criteria.h b/include/sway/criteria.h index 8da345ea..ae546821 100644 --- a/include/sway/criteria.h +++ b/include/sway/criteria.h | |||
@@ -7,6 +7,10 @@ | |||
7 | #include "list.h" | 7 | #include "list.h" |
8 | #include "tree/view.h" | 8 | #include "tree/view.h" |
9 | 9 | ||
10 | #if WLR_HAS_XWAYLAND | ||
11 | #include "sway/xwayland.h" | ||
12 | #endif | ||
13 | |||
10 | enum criteria_type { | 14 | enum criteria_type { |
11 | CT_COMMAND = 1 << 0, | 15 | CT_COMMAND = 1 << 0, |
12 | CT_ASSIGN_OUTPUT = 1 << 1, | 16 | CT_ASSIGN_OUTPUT = 1 << 1, |
@@ -36,7 +40,7 @@ struct criteria { | |||
36 | struct pattern *app_id; | 40 | struct pattern *app_id; |
37 | struct pattern *con_mark; | 41 | struct pattern *con_mark; |
38 | uint32_t con_id; // internal ID | 42 | uint32_t con_id; // internal ID |
39 | #if HAVE_XWAYLAND | 43 | #if WLR_HAS_XWAYLAND |
40 | struct pattern *class; | 44 | struct pattern *class; |
41 | uint32_t id; // X11 window ID | 45 | uint32_t id; // X11 window ID |
42 | struct pattern *instance; | 46 | struct pattern *instance; |