fix: ensure tag changes happen on correct monitor

This commit is contained in:
werapi 2025-10-20 19:11:27 +02:00 committed by DreamMaoMao
parent 67b5e82bbe
commit 242cfb3c2f
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ void handle_foreign_activate_request(struct wl_listener *listener, void *data) {
}
target = get_tags_first_tag(c->tags);
view(&(Arg){.ui = target}, true);
view_in_mon(&(Arg){.ui = target}, true, c->mon, true);
focusclient(c, 1);
wlr_foreign_toplevel_handle_v1_set_activated(c->foreign_toplevel, true);
}