aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-03 11:04:03 -0400
committerGitHub <noreply@github.com>2018-09-03 11:04:03 -0400
commit0b61bae8fb2923d044e743d5816a72f05adc94e3 (patch)
tree2fe371a78aac1e517b59da2ac99abe93f0ac1c26 /include
parente4afd33d478c14fd82e585eefe36b5576d78c5bb (diff)
parent93673095f093a286a506415764f736d2dd62ebe9 (diff)
Merge pull request #2564 from ppascher/master
Fix window_type with disabled xwayland support
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 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