mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-10 04:27:57 -05:00
opt: optimize focus change when change monitor
This commit is contained in:
parent
01b03dae88
commit
c0be8fd176
2 changed files with 10 additions and 8 deletions
|
|
@ -202,6 +202,7 @@ int focusmon(const Arg *arg) {
|
|||
selmon->sel = NULL;
|
||||
wlr_seat_pointer_notify_clear_focus(seat);
|
||||
wlr_seat_keyboard_notify_clear_focus(seat);
|
||||
focusclient(NULL, 0);
|
||||
} else
|
||||
focusclient(c, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue