mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
Implement floating
This commit is contained in:
parent
1132efe42e
commit
1f2e399ade
21 changed files with 572 additions and 169 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue