Merge 47b19b295f085aff615301a7a78e6918e174a9b6 into d6fabe3a150d2e464078c3269410d56e8bbeb54f

This commit is contained in:
Guido Cella 2023-11-09 15:16:40 +01:00 committed by GitHub
commit a4ce55235d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
dwl.c
View File

@ -914,7 +914,8 @@ createmon(struct wl_listener *listener, void *data)
m->nmaster = r->nmaster;
wlr_output_set_scale(wlr_output, r->scale);
wlr_xcursor_manager_load(cursor_mgr, r->scale);
m->lt[0] = m->lt[1] = r->lt;
m->lt[0] = r->lt;
m->lt[1] = &layouts[LENGTH(layouts) > 1 && r->lt != &layouts[1]];
wlr_output_set_transform(wlr_output, r->rr);
m->m.x = r->x;
m->m.y = r->y;