feat: add option scratchpad_cross_monitor

This commit is contained in:
DreamMaoMao 2025-09-24 19:35:12 +08:00
parent eb0395a48d
commit 3a21ef8801
6 changed files with 57 additions and 8 deletions

View file

@ -37,7 +37,7 @@ Client *get_client_by_id_or_title(const char *arg_id, const char *arg_title) {
const char *appid, *title;
Client *c = NULL;
wl_list_for_each(c, &clients, link) {
if (c->mon != selmon) {
if (!scratchpad_cross_monitor && c->mon != selmon) {
continue;
}