fix: cursor not auto hide in overview

This commit is contained in:
DreamMaoMao 2026-06-15 09:53:34 +08:00
parent ae01989d7b
commit ef30e9f902

View file

@ -1761,7 +1761,12 @@ int32_t toggleoverview(const Arg *arg) {
if (selmon->isoverview) {
wlr_seat_pointer_clear_focus(seat);
wlr_cursor_set_xcursor(cursor, cursor_mgr, "default");
if (cursor_hidden) {
handlecursoractivity();
} else {
wlr_cursor_set_xcursor(cursor, cursor_mgr, "default");
}
wl_list_for_each(c, &clients, link) {
if (c && c->mon == selmon && !client_is_unmanaged(c) &&