has_mouse() function of ncurses doesn't seem working reliably.
Revert the previous change for addressing the regressions.
Fixes: 31820c5f239f ("alsamixer: Check the availability of mouse")
BugLink: https://github.com/alsa-project/alsa-utils/issues/139
Signed-off-by: Takashi Iwai <tiwai@suse.de>
#endif
window_size_changed(); /* update screen_lines/cols */
init_colors(use_color);
- if (use_mouse && has_mouse())
+ if (use_mouse)
mousemask(ALL_MOUSE_EVENTS, NULL);
+
snd_lib_error_set_handler(black_hole_error_handler);
}