diff options
Diffstat (limited to 'sway/criteria.c')
-rw-r--r-- | sway/criteria.c | 9 |
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, } if (criteria->floating) { - // TODO - return false; + if (!view->swayc->is_floating) { + return false; + } } if (criteria->tiling) { - // TODO + if (view->swayc->is_floating) { + return false; + } } if (criteria->urgent) { |