From a497205d33fd64e78184643f6e6525300b85366a Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Tue, 25 Mar 2025 10:36:53 +0800 Subject: [PATCH] opt:warp cursor to new mon after foucsmon --- maomao.c | 1 + 1 file changed, 1 insertion(+) 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); }