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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/criteria.h b/include/sway/criteria.h
index 6a8337c5..5b5c0f58 100644
--- a/include/sway/criteria.h
+++ b/include/sway/criteria.h
@@ -25,7 +25,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;