1
0
Fork 0
forked from wry/wry

config: add floating window criteria

This commit is contained in:
Julian Orth 2025-05-01 18:31:59 +02:00
parent da64166e82
commit 8bb8b2a649
14 changed files with 78 additions and 14 deletions

View file

@ -1657,6 +1657,7 @@ impl ConfigClient {
WindowCriterion::TitleRegex(t) => string!(t, Title, true),
WindowCriterion::AppId(t) => string!(t, AppId, false),
WindowCriterion::AppIdRegex(t) => string!(t, AppId, true),
WindowCriterion::Floating => WindowCriterionIpc::Floating,
};
let res = self.send_with_response(&ClientMessage::CreateWindowMatcher { criterion });
get_response!(