aboutsummaryrefslogtreecommitdiff
path: root/include/sway/criteria.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-11-18 08:22:25 -0500
committerGitHub <noreply@github.com>2018-11-18 08:22:25 -0500
commitb87250425fe13149e41b346f15c5cf808f376438 (patch)
tree145fcb048cc3df3d04a8b6afb90de68dd2dd80a9 /include/sway/criteria.h
parenteda3bfeed5097c71634332bfe998188b028abf02 (diff)
parentcad851805bea6b4777685df1c6adf8cb9fa71835 (diff)
Merge pull request #3147 from emersion/set10
Use #if instead of #ifdef
Diffstat (limited to 'include/sway/criteria.h')
-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 323ba01d..3eb583d5 100644
--- a/include/sway/criteria.h
+++ b/include/sway/criteria.h
@@ -25,7 +25,7 @@ struct criteria {
pcre *app_id;
pcre *con_mark;
uint32_t con_id; // internal ID
-#ifdef HAVE_XWAYLAND
+#if HAVE_XWAYLAND
pcre *class;
uint32_t id; // X11 window ID
pcre *instance;