Merge branch 'mangowm:main' into main

This commit is contained in:
Eslam Mohamed 2026-03-04 06:42:53 +02:00 committed by GitHub
commit e2daf5f915
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ typedef struct {
int32_t ignore_minimize; int32_t ignore_minimize;
int32_t isnosizehint; int32_t isnosizehint;
int32_t indleinhibit_when_focus; int32_t indleinhibit_when_focus;
const char *monitor; char *monitor;
int32_t offsetx; int32_t offsetx;
int32_t offsety; int32_t offsety;
int32_t width; int32_t width;

View file

@ -1443,7 +1443,7 @@ void applyrules(Client *c) {
// set monitor of client // set monitor of client
wl_list_for_each(m, &mons, link) { 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; mon = m;
} }
} }