mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-09 05:34:17 -04:00
feat: use monitor spec to match windowrule monitor field
This commit is contained in:
parent
1e1d41e626
commit
7f99b5ff48
2 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ typedef struct {
|
|||
int32_t ignore_minimize;
|
||||
int32_t isnosizehint;
|
||||
int32_t indleinhibit_when_focus;
|
||||
const char *monitor;
|
||||
char *monitor;
|
||||
int32_t offsetx;
|
||||
int32_t offsety;
|
||||
int32_t width;
|
||||
|
|
|
|||
|
|
@ -1443,7 +1443,7 @@ void applyrules(Client *c) {
|
|||
|
||||
// set monitor of client
|
||||
wl_list_for_each(m, &mons, link) {
|
||||
if (regex_match(r->monitor, m->wlr_output->name)) {
|
||||
if (match_monitor_spec(r->monitor, m)) {
|
||||
mon = m;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue