make floating an enum (we need three states, not only two)

This commit is contained in:
Michael Stapelberg
2010-04-16 22:57:21 +02:00
parent 8d05039b04
commit 77ec4219c9
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ bool match_is_empty(Match *match) {
match->instance == NULL &&
match->id == XCB_NONE &&
match->con_id == NULL &&
match->floating == false);
match->floating == M_ANY);
}
bool match_matches_window(Match *match, i3Window *window) {