do not match docks in config and command criteria (#2340)
This commit is contained in:
committed by
Michael Stapelberg
parent
655ed0ba27
commit
1437271e65
@ -27,7 +27,6 @@
|
||||
*/
|
||||
void match_init(Match *match) {
|
||||
memset(match, 0, sizeof(Match));
|
||||
match->dock = M_DONTCHECK;
|
||||
match->urgent = U_DONTCHECK;
|
||||
/* we use this as the placeholder value for "not set". */
|
||||
match->window_type = UINT32_MAX;
|
||||
@ -53,7 +52,7 @@ bool match_is_empty(Match *match) {
|
||||
match->id == XCB_NONE &&
|
||||
match->window_type == UINT32_MAX &&
|
||||
match->con_id == NULL &&
|
||||
match->dock == -1 &&
|
||||
match->dock == M_NODOCK &&
|
||||
match->floating == M_ANY);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user