mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-12 05:34:32 -04:00
opt: avoid stack inner per change when switch tty
This commit is contained in:
parent
4d0f7faed7
commit
6a39481362
1 changed files with 2 additions and 1 deletions
|
|
@ -5755,7 +5755,8 @@ void updatemons(struct wl_listener *listener, void *data) {
|
|||
if (selmon && selmon->wlr_output->enabled) {
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
if (!c->mon && client_surface(c)->mapped) {
|
||||
client_change_mon(c, selmon);
|
||||
c->mon = selmon;
|
||||
reset_foreign_tolevel(c);
|
||||
}
|
||||
}
|
||||
focusclient(focustop(selmon), 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue