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
ae01989d7b
commit
ef30e9f902
1 changed files with 6 additions and 1 deletions
|
|
@ -1761,7 +1761,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