mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-16 14:33:36 -04:00
opt: ensure sel client exist in all monitor
This commit is contained in:
parent
87f00ab5e9
commit
1ae6adabc3
1 changed files with 4 additions and 0 deletions
|
|
@ -1223,6 +1223,10 @@ arrange(Monitor *m, bool want_animation, bool from_view) {
|
|||
if (!m->wlr_output->enabled)
|
||||
return;
|
||||
|
||||
if (!m->sel) {
|
||||
m->sel = focustop(m);
|
||||
}
|
||||
|
||||
pre_caculate_before_arrange(m, want_animation, from_view, false);
|
||||
|
||||
if (m->isoverview) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue