feat: add smartkillclient dispatcher

Add a smartkillclient bind function that removes the focused client from
the currently viewed tag(s) when it lives on more than one tag, and only
falls back to closing it (killclient behaviour) when it is on a single
tag, or when removing the viewed tag(s) would leave it on none.
This commit is contained in:
ShadowProgr 2026-05-31 15:48:36 +07:00
parent adc1239075
commit e4c74de7df
No known key found for this signature in database
4 changed files with 24 additions and 0 deletions

View file

@ -34,6 +34,7 @@ int32_t moveresize(const Arg *arg);
int32_t exchange_client(const Arg *arg);
int32_t exchange_stack_client(const Arg *arg);
int32_t killclient(const Arg *arg);
int32_t smartkillclient(const Arg *arg);
int32_t toggleglobal(const Arg *arg);
int32_t incnmaster(const Arg *arg);
int32_t focusmon(const Arg *arg);