aboutsummaryrefslogtreecommitdiffstats
path: root/sway/criteria.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/criteria.c')
-rw-r--r--sway/criteria.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sway/criteria.c b/sway/criteria.c
index dec5fed7..e97b12f8 100644
--- a/sway/criteria.c
+++ b/sway/criteria.c
@@ -121,12 +121,15 @@ static bool criteria_matches_view(struct criteria *criteria,
121 } 121 }
122 122
123 if (criteria->floating) { 123 if (criteria->floating) {
124 // TODO 124 if (!view->swayc->is_floating) {
125 return false; 125 return false;
126 }
126 } 127 }
127 128
128 if (criteria->tiling) { 129 if (criteria->tiling) {
129 // TODO 130 if (view->swayc->is_floating) {
131 return false;
132 }
130 } 133 }
131 134
132 if (criteria->urgent) { 135 if (criteria->urgent) {