opt: optimize focus change when change monitor
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user