mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 19:05:42 +01:00
alsamixer: Revert has_mouse() check
has_mouse() function of ncurses doesn't seem working reliably.
Revert the previous change for addressing the regressions.
Fixes: 31820c5f23
("alsamixer: Check the availability of mouse")
BugLink: https://github.com/alsa-project/alsa-utils/issues/139
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
7245f63b2e
commit
c511b49bf6
1 changed files with 2 additions and 1 deletions
|
@ -50,8 +50,9 @@ void initialize_curses(bool use_color, bool use_mouse)
|
|||
#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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue