mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-03 06:46:38 -04:00
fix: reset client foreign toplevel in updatemon
This commit is contained in:
parent
aadd27bae8
commit
c8dbe8bba4
2 changed files with 4 additions and 2 deletions
4
maomao.c
4
maomao.c
|
|
@ -6341,8 +6341,10 @@ 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)
|
||||
if (!c->mon && client_surface(c)->mapped) {
|
||||
setmon(c, selmon, c->tags);
|
||||
reset_foreign_tolevel(c);
|
||||
}
|
||||
}
|
||||
focusclient(focustop(selmon), 1);
|
||||
if (selmon->lock_surface) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue