mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
Revert "Allow toggling the layout before selecting a different one"
This reverts commit 90cc3b1e2c
. Didn't
mean to merge this change.
This commit is contained in:
parent
313d1f7ecc
commit
33c36be2fc
1 changed files with 1 additions and 2 deletions
3
dwl.c
3
dwl.c
|
@ -837,8 +837,7 @@ createmon(struct wl_listener *listener, void *data)
|
||||||
m->nmaster = r->nmaster;
|
m->nmaster = r->nmaster;
|
||||||
wlr_output_set_scale(wlr_output, r->scale);
|
wlr_output_set_scale(wlr_output, r->scale);
|
||||||
wlr_xcursor_manager_load(cursor_mgr, r->scale);
|
wlr_xcursor_manager_load(cursor_mgr, r->scale);
|
||||||
m->lt[0] = r->lt;
|
m->lt[0] = m->lt[1] = r->lt;
|
||||||
m->lt[1] = &layouts[LENGTH(layouts) > 1 && r->lt != &layouts[1]];
|
|
||||||
wlr_output_set_transform(wlr_output, r->rr);
|
wlr_output_set_transform(wlr_output, r->rr);
|
||||||
m->position = r - monrules;
|
m->position = r - monrules;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue