diff --git a/maomao.c b/maomao.c index 78f72b92..51dbaa45 100644 --- a/maomao.c +++ b/maomao.c @@ -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); }