mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-16 14:33:36 -04:00
fix: cursor not auto hide in overview
This commit is contained in:
parent
4daab9e4d5
commit
2a9c38df1f
1 changed files with 6 additions and 1 deletions
|
|
@ -1760,7 +1760,12 @@ int32_t toggleoverview(const Arg *arg) {
|
||||||
|
|
||||||
if (selmon->isoverview) {
|
if (selmon->isoverview) {
|
||||||
wlr_seat_pointer_clear_focus(seat);
|
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) {
|
wl_list_for_each(c, &clients, link) {
|
||||||
if (c && c->mon == selmon && !client_is_unmanaged(c) &&
|
if (c && c->mon == selmon && !client_is_unmanaged(c) &&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue