aboutsummaryrefslogtreecommitdiff
path: root/include/sway/criteria.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/criteria.h')
-rw-r--r--include/sway/criteria.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/criteria.h b/include/sway/criteria.h
index 6a8337c5..b4ff7d49 100644
--- a/include/sway/criteria.h
+++ b/include/sway/criteria.h
@@ -2,6 +2,7 @@
#define _SWAY_CRITERIA_H
#include <pcre.h>
+#include "config.h"
#include "list.h"
#include "tree/view.h"
@@ -25,7 +26,9 @@ struct criteria {
pcre *instance;
pcre *con_mark;
uint32_t con_id; // internal ID
+#ifdef HAVE_XWAYLAND
uint32_t id; // X11 window ID
+#endif
pcre *window_role;
uint32_t window_type;
bool floating;