切换 client 所在 tag

This commit is contained in:
2026-01-07 11:39:46 +08:00
parent 1dbcf3e654
commit 2902c994ba
4 changed files with 26 additions and 0 deletions

View File

@@ -232,6 +232,12 @@ bool client_need_layout(client_t *client) {
return true;
}
void client_send_to_tag(client_t *client, uint32_t tag_mask) {
client->tags = tag_mask;
client_tags_apply(client);
monitor_select_tag(client->monitor, tag_mask);
}
void client_move_to(client_t *client, int16_t x, int16_t y) {
client->geometry.x = x;
client->geometry.y = y;