aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-07-13 15:28:43 +0000
committerKalle Wallin <kaw@linux.se>2004-07-13 15:28:43 +0000
commitf674c3f262a6bf2542debd29c4aa61281a976cbc (patch)
tree54226e05acccdf1bad118b4dadde4c4d4f8b7e10 /src/screen.c
parent2c6af7312cf617f40ab407323fd07a9fa5579495 (diff)
downloadmpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.tar.gz
mpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.tar.xz
mpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.zip
Use my_wgetch() instead of wgetch(), added --[no-]mouse option
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index 9ea46f739..f7145be6b 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -478,7 +478,7 @@ screen_init(mpdclient_t *c)
timeout(SCREEN_TIMEOUT);
/* initialize mouse support */
#ifdef HAVE_GETMOUSE
- if( options.enable_mouse_events )
+ if( options.enable_mouse )
mousemask(ALL_MOUSE_EVENTS, NULL);
#endif
@@ -587,7 +587,7 @@ screen_init(mpdclient_t *c)
mode_fn->open(screen, c);
/* initialize wreadln */
- wrln_resize_callback = screen_resize;
+ wrln_wgetch = my_wgetch;
wrln_max_history_length = 16;
return 0;