Archived
opt: optimize focus change when change monitor
This commit is contained in:
1 parent
1b739a1c7e
commit
e602605fa4
2 files changed
+10
-8
No files matched your search
@@ -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