mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-23 01:40:16 -05:00
opt: if app open when no monitor, init tags and size in updatemons
This commit is contained in:
parent
07aed60245
commit
3d680523d6
1 changed files with 4 additions and 0 deletions
|
|
@ -5958,6 +5958,10 @@ void updatemons(struct wl_listener *listener, void *data) {
|
|||
c->mon = selmon;
|
||||
reset_foreign_tolevel(c);
|
||||
}
|
||||
if(c->tags ==0 && !c->is_in_scratchpad) {
|
||||
c->tags = selmon->tagset[selmon->seltags];
|
||||
set_size_per(selmon,c);
|
||||
}
|
||||
}
|
||||
focusclient(focustop(selmon), 1);
|
||||
if (selmon->lock_surface) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue