move criteria "instance", "class" and "window_role" inside HAVE_XWAYLAND ifdefs"

This commit is contained in:
Pascal Pascher 2018-09-03 14:25:48 +02:00
parent f998601821
commit 93673095f0
2 changed files with 53 additions and 53 deletions

View file

@ -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