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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sway/criteria.h b/include/sway/criteria.h
index af12ffd7..323ba01d 100644
--- a/include/sway/criteria.h
+++ b/include/sway/criteria.h
@@ -23,15 +23,15 @@ struct criteria {
pcre *title;
pcre *shell;
pcre *app_id;
- pcre *class;
- pcre *instance;
pcre *con_mark;
uint32_t con_id; // internal ID
#ifdef HAVE_XWAYLAND
+ pcre *class;
uint32_t id; // X11 window ID
-#endif
+ pcre *instance;
pcre *window_role;
enum atom_name window_type;
+#endif
bool floating;
bool tiling;
char urgent; // 'l' for latest or 'o' for oldest