opt: warp cursor to focusing client when exchange

This commit is contained in:
DreamMaoMao 2026-06-16 08:12:53 +08:00
parent 84a7d3d1e9
commit 71689f6ef4

View file

@ -48,6 +48,9 @@ static void finish_exchange_arrange_and_focus(Client *c1, Client *c2,
}
wl_list_remove(&c2->flink);
wl_list_insert(&c1->flink, &c2->flink);
if (config.warpcursor)
warp_cursor(c1);
}
void client_tile_resize(Client *c, struct wlr_box geo, int32_t interact) {