aboutsummaryrefslogtreecommitdiffstats
path: root/sway/criteria.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-24 22:30:44 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-01 23:14:58 +1000
commit1f2e399ade77070a2d0b82856ad9a3eef96b8676 (patch)
treec469197e140051aea912cb173723c7e55ce1e410 /sway/criteria.c
parentSend frame done to floating views (diff)
downloadsway-1f2e399ade77070a2d0b82856ad9a3eef96b8676.tar.gz
sway-1f2e399ade77070a2d0b82856ad9a3eef96b8676.tar.zst
sway-1f2e399ade77070a2d0b82856ad9a3eef96b8676.zip
Implement floating
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) {