aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPascal Pascher <aur@clouddrop.de>2018-09-03 14:25:48 +0200
committerPascal Pascher <aur@clouddrop.de>2018-09-03 14:25:48 +0200
commit93673095f093a286a506415764f736d2dd62ebe9 (patch)
tree7d4e7f1ab5c7ec93f7dc075c75101424764641d5 /include
parentf9986018214b82bfc2b2d48e3a9e4a867812ca50 (diff)
move criteria "instance", "class" and "window_role" inside HAVE_XWAYLAND ifdefs"
Diffstat (limited to 'include')
-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 89fe369c..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
+ pcre *instance;
+ pcre *window_role;
enum atom_name window_type;
#endif
- pcre *window_role;
bool floating;
bool tiling;
char urgent; // 'l' for latest or 'o' for oldest