mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-16 14:33:36 -04:00
opt: warp cursor to focusing client when exchange
This commit is contained in:
parent
84a7d3d1e9
commit
71689f6ef4
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue