diff --git a/maomao.c b/maomao.c index 6a51a47c..96198fcb 100644 --- a/maomao.c +++ b/maomao.c @@ -3228,6 +3228,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); }