mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-15 22:05:20 -05:00
opt: optimize focus change when change monitor
This commit is contained in:
parent
1b739a1c7e
commit
e602605fa4
2 changed files with 10 additions and 8 deletions
|
|
@ -201,6 +201,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