opt:warp cursor to new mon after foucsmon

This commit is contained in:
DreamMaoMao 2025-03-25 10:36:53 +08:00
parent 68e323a804
commit a497205d33

View file

@ -3214,6 +3214,7 @@ void focusmon(const Arg *arg) {
selmon = dirtomon(arg->i);
while (!selmon->wlr_output->enabled && i++ < nmons);
}
warp_cursor_to_selmon(selmon);
focusclient(focustop(selmon), 1);
}