diff options
author | Pascal Pascher <aur@clouddrop.de> | 2018-09-03 14:25:48 +0200 |
---|---|---|
committer | Pascal Pascher <aur@clouddrop.de> | 2018-09-03 14:25:48 +0200 |
commit | 93673095f093a286a506415764f736d2dd62ebe9 (patch) | |
tree | 7d4e7f1ab5c7ec93f7dc075c75101424764641d5 /include/sway/criteria.h | |
parent | fix window_type with disabled xwayland support (diff) | |
download | sway-93673095f093a286a506415764f736d2dd62ebe9.tar.gz sway-93673095f093a286a506415764f736d2dd62ebe9.tar.zst sway-93673095f093a286a506415764f736d2dd62ebe9.zip |
move criteria "instance", "class" and "window_role" inside HAVE_XWAYLAND ifdefs"
Diffstat (limited to 'include/sway/criteria.h')
-rw-r--r-- | include/sway/criteria.h | 6 |
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 { | |||
23 | pcre *title; | 23 | pcre *title; |
24 | pcre *shell; | 24 | pcre *shell; |
25 | pcre *app_id; | 25 | pcre *app_id; |
26 | pcre *class; | ||
27 | pcre *instance; | ||
28 | pcre *con_mark; | 26 | pcre *con_mark; |
29 | uint32_t con_id; // internal ID | 27 | uint32_t con_id; // internal ID |
30 | #ifdef HAVE_XWAYLAND | 28 | #ifdef HAVE_XWAYLAND |
29 | pcre *class; | ||
31 | uint32_t id; // X11 window ID | 30 | uint32_t id; // X11 window ID |
31 | pcre *instance; | ||
32 | pcre *window_role; | ||
32 | enum atom_name window_type; | 33 | enum atom_name window_type; |
33 | #endif | 34 | #endif |
34 | pcre *window_role; | ||
35 | bool floating; | 35 | bool floating; |
36 | bool tiling; | 36 | bool tiling; |
37 | char urgent; // 'l' for latest or 'o' for oldest | 37 | char urgent; // 'l' for latest or 'o' for oldest |