aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorPascal Pascher <aur@clouddrop.de>2018-09-03 11:13:50 +0200
committerPascal Pascher <aur@clouddrop.de>2018-09-03 11:13:50 +0200
commit587e320cd85b3c635b653b6e16b21ce5fb7bade0 (patch)
tree56ef04a99f1f6309967df0c0e4ea245b4d914b17 /include/sway
parentc9276f04c9fae7a211164003bc9cb8b4369db5fd (diff)
Fixed window_type with disabled xwayland support.
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/criteria.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/criteria.h b/include/sway/criteria.h
index af12ffd7..89fe369c 100644
--- a/include/sway/criteria.h
+++ b/include/sway/criteria.h
@@ -29,9 +29,9 @@ struct criteria {
uint32_t con_id; // internal ID
#ifdef HAVE_XWAYLAND
uint32_t id; // X11 window ID
+ enum atom_name window_type;
#endif
pcre *window_role;
- enum atom_name window_type;
bool floating;
bool tiling;
char urgent; // 'l' for latest or 'o' for oldest